MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / inRange

Function inRange

Source/GameToolbox/math.h:34–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33 template <typename T>
34 inline T inRange(T value, T min, T max) {
35 return MIN(MAX(value, min), max);
36 }
37
38}

Callers 2

updateGamemodeMethod · 0.85
initMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected