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

Method isUnitLength

Engine/source/math/mPoint3.h:513–516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511}
512
513inline bool Point3F::isUnitLength() const
514{
515 return ( mFabs( 1.0f - ( x*x + y*y + z*z ) ) < POINT_EPSILON );
516}
517
518inline bool Point3F::equal( const Point3F &compare, F32 epsilon ) const
519{

Callers 8

resetDeltaMethod · 0.80
pushDeltaMethod · 0.80
resetDeltaMethod · 0.80
pushDeltaMethod · 0.80
generateMethod · 0.80
mPerpFunction · 0.80
getMatrixFromUpVectorFunction · 0.80

Calls 1

mFabsFunction · 0.85

Tested by

no test coverage detected