Searched refs:ACC_DAMP (Results 1 – 1 of 1) sorted by relevance
189 #define ACC_DAMP 0.6f // Attenuation rate of acceleration changes outside the range macro281 new_acc.x = ( acc_vec.x *= ACC_DAMP ) + last_acc.x ; in work_sample()286 new_acc.y = ( acc_vec.y *= ACC_DAMP ) + last_acc.y ; in work_sample()291 new_acc.z = ( acc_vec.z *= ACC_DAMP ) + last_acc.z ; in work_sample()