MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / GetInterpPositionX

Method GetInterpPositionX

Source/Physics/bulletobject.cpp:254–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254vec3 BulletObject::GetInterpPositionX(int num, int progress) {
255 return mix(old_transform.GetTranslationPart(),
256 transform.GetTranslationPart(),
257 game_timer.GetInterpWeightX(num, progress));
258}
259
260mat4 BulletObject::GetInterpRotationX(int num, int progress) {
261 return mix(old_transform.GetRotationPart(),

Callers 2

DrawItemMethod · 0.80
RagdollMethod · 0.80

Calls 3

GetTranslationPartMethod · 0.80
GetInterpWeightXMethod · 0.80
mixFunction · 0.50

Tested by

no test coverage detected