Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
513
inline bool Point3F::isUnitLength() const
514
{
515
return ( mFabs( 1.0f - ( x*x + y*y + z*z ) ) < POINT_EPSILON );
516
}
517
518
inline bool Point3F::equal( const Point3F &compare, F32 epsilon ) const
519
{
Callers
8
resetDelta
Method · 0.80
pushDelta
Method · 0.80
resetDelta
Method · 0.80
pushDelta
Method · 0.80
generate
Method · 0.80
mPerp
Function · 0.80
getMatrixFromUpVector
Function · 0.80
getMatrixFromForwardVector
Function · 0.80
Calls
1
mFabs
Function · 0.85
Tested by
no test coverage detected