#######################################################################################################################* *--------------------------------------------------InterpolationComponent-------------------------------------------------* *#########################################################################################################################*/
| 275 | *--------------------------------------------------InterpolationComponent-------------------------------------------------* |
| 276 | *#########################################################################################################################*/ |
| 277 | static void InterpComp_RemoveOldestRotY(struct InterpComp* interp) { |
| 278 | int i; |
| 279 | for (i = 0; i < Array_Elems(interp->RotYStates); i++) { |
| 280 | interp->RotYStates[i] = interp->RotYStates[i + 1]; |
| 281 | } |
| 282 | interp->RotYCount--; |
| 283 | } |
| 284 | |
| 285 | static void InterpComp_AddRotY(struct InterpComp* interp, float state) { |
| 286 | if (interp->RotYCount == Array_Elems(interp->RotYStates)) { |
no outgoing calls
no test coverage detected