MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / sgn

Function sgn

Engine/source/scene/reflector.cpp:817–822  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

815}
816
817inline F32 sgn(F32 a)
818{
819 if (a > 0.0F) return (1.0F);
820 if (a < 0.0F) return (-1.0F);
821 return (0.0F);
822}
823
824MatrixF PlaneReflector::getFrustumClipProj( MatrixF &modelview )
825{

Callers 1

getFrustumClipProjMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected