Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TorqueGameEngines/Torque3D
/ angleBetween
Method
angleBetween
Engine/source/math/mQuat.h:228–232 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
226
}
227
228
inline F32 QuatF::angleBetween( const QuatF & q )
229
{
230
// angle between two normalized quaternions.
231
return mAcos(q.dot(*this)) * 2.0f;
232
}
233
234
#endif // _MQUAT_H_
Callers
1
TEST
Function · 0.80
Calls
2
mAcos
Function · 0.85
dot
Method · 0.45
Tested by
1
TEST
Function · 0.64