Added missing header comments.

This commit is contained in:
YourWishes committed 2021-08-29 10:07:42 -07:00
1 parent 882469c5fb
commit d825689344
29 files changed
+184 -73

No files matched your search

+1 -4
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;