MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / RoundToStep

Function RoundToStep

TombEngine/Math/Utils.cpp:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 }
17
18 float RoundToStep(float value, float step)
19 {
20 return (round(value / step) * step);
21 }
22
23 float Remap(float value, float min0, float max0, float min1, float max1)
24 {

Callers 3

GetCellKeyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected