| 355 | } |
| 356 | |
| 357 | static void NetInterpComp_AddAngles(struct NetInterpComp* interp, struct NetInterpAngles angles) { |
| 358 | if (interp->AnglesCount == Array_Elems(interp->Angles)) { |
| 359 | NetInterpComp_RemoveOldestAngles(interp); |
| 360 | } |
| 361 | interp->Angles[interp->AnglesCount++] = angles; |
| 362 | } |
| 363 | |
| 364 | void NetInterpComp_SetLocation(struct NetInterpComp* interp, struct LocationUpdate* update, struct Entity* e) { |
| 365 | struct NetInterpAngles last = interp->CurAngles; |
no test coverage detected