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

Method interpolateMat

Engine/source/T3D/pathCamera.cpp:238–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236}
237
238void PathCamera::interpolateMat(F32 pos,MatrixF* mat)
239{
240 CameraSpline::Knot knot;
241 mSpline.value(pos - mNodeBase,&knot);
242 knot.mRotation.setMatrix(mat);
243 mat->setPosition(knot.mPosition);
244}
245
246void PathCamera::advancePosition(S32 ms)
247{

Callers

nothing calls this directly

Calls 3

valueMethod · 0.45
setMatrixMethod · 0.45
setPositionMethod · 0.45

Tested by

no test coverage detected