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

Method interpolateMat

Engine/source/T3D/pathShape.cpp:191–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191void PathShape::interpolateMat(F32 pos,MatrixF* mat)
192{
193 CameraSpline::Knot knot;
194 mSpline.value(pos - mNodeBase,&knot);
195 knot.mRotation.setMatrix(mat);
196 mat->setPosition(knot.mPosition);
197}
198
199void PathShape::advancePosition(S32 ms)
200{

Callers

nothing calls this directly

Calls 3

valueMethod · 0.45
setMatrixMethod · 0.45
setPositionMethod · 0.45

Tested by

no test coverage detected