Added missing header comments.

This commit is contained in:
2021-08-29 10:07:42 -07:00
parent 882469c5fb
commit d825689344
29 changed files with 184 additions and 73 deletions

View File

@ -14,10 +14,7 @@ void epochInit(epoch_t *epoch) {
}
void epochUpdate(epoch_t *epoch, float platformDelta) {
platformDelta = mathMax(
mathMin(platformDelta, EPOCH_FIXED_STEP),
0
);
platformDelta = mathClamp(platformDelta, 0, EPOCH_FIXED_STEP);
epoch->last = epoch->current;
epoch->current = epoch->current + platformDelta;