MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / GetTranslate

Method GetTranslate

GTE/Graphics/KeyframeController.cpp:205–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205Vector4<float> KeyframeController::GetTranslate(float normTime, int32_t i0, int32_t i1)
206{
207 Vector4<float> trn = mTranslations[i0] + normTime * (mTranslations[i1] - mTranslations[i0]);
208 return trn;
209}
210
211Matrix4x4<float> KeyframeController::GetRotate(float normTime, int32_t i0, int32_t i1)
212{

Callers 2

SetFontMethod · 0.80
DrawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected