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

Method interpolate

Engine/source/math/mRotation.cpp:122–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122inline void RotationF::interpolate(const RotationF& _from, const RotationF& _to, F32 _factor)
123{
124 QuatF tmpQuat;
125
126 tmpQuat.interpolate(_from.asQuatF(), _to.asQuatF(), _factor);
127
128 set(tmpQuat);
129}
130
131void RotationF::lookAt(const Point3F& _origin, const Point3F& _target, const Point3F& _up)
132{

Callers 1

mRotation.cppFile · 0.45

Calls 2

asQuatFMethod · 0.80
setFunction · 0.50

Tested by

no test coverage detected