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

Method GetInterpWeight

Source/Graphics/camera.cpp:887–889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

885}
886
887float Camera::GetInterpWeight() const {
888 return game_timer.GetInterpWeightX(interp_steps, interp_progress);
889}
890
891vec3 Camera::GetCenterVel() const {
892 return (pos - old_pos) * (float)game_timer.simulations_per_second / (float)interp_steps;

Callers 2

DrawFlareMethod · 0.45
DrawMethod · 0.45

Calls 1

GetInterpWeightXMethod · 0.80

Tested by

no test coverage detected