MCPcopy 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
228inline 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

TESTFunction · 0.80

Calls 2

mAcosFunction · 0.85
dotMethod · 0.45

Tested by 1

TESTFunction · 0.64