MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / sign

Function sign

include/Core/Utils/MathUtils.hpp:116–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 }
115
116 template <typename T> int sign(T val)
117 {
118 return (T(0) < val) - (val < T(0));
119 }
120} // namespace obe::Utils::Math

Callers 3

getXScaleFactorMethod · 0.50
getYScaleFactorMethod · 0.50
getScaleFactorMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected