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