| 283 | } |
| 284 | |
| 285 | static void InterpComp_AddRotY(struct InterpComp* interp, float state) { |
| 286 | if (interp->RotYCount == Array_Elems(interp->RotYStates)) { |
| 287 | InterpComp_RemoveOldestRotY(interp); |
| 288 | } |
| 289 | interp->RotYStates[interp->RotYCount] = state; interp->RotYCount++; |
| 290 | } |
| 291 | |
| 292 | static void InterpComp_AdvanceRotY(struct InterpComp* interp, struct Entity* e) { |
| 293 | if (!interp->RotYCount) return; |
no test coverage detected