MCPcopy Create free account
hub / github.com/atraczyk/2d-engine / isInRange

Function isInRange

engine/src/utils.cpp:38–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38bool isInRange(int x, int min, int max) { return (x >= min && x <= max); }
39
40int roundUp(int number, int fixedBase) {
41 return (number + fixedBase - 1) & ~(fixedBase - 1);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected