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

Method GetHeight

GTE/Samples/Physics/BallHill/PhysicsModule.cpp:99–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99float PhysicsModule::GetHeight(float x, float y) const
100{
101 float xScaled = x / a1;
102 float yScaled = y / a2;
103 return a3 - xScaled * xScaled - yScaled * yScaled;
104}
105
106void PhysicsModule::Update()
107{

Callers 10

CreateSceneMethod · 0.45
CreateBlurEffectsMethod · 0.45
OnIdleMethod · 0.45
CreateSceneMethod · 0.45
CreateHillMethod · 0.45
OnIdleMethod · 0.45
MoveForwardMethod · 0.45
MoveBackwardMethod · 0.45
MoveDownMethod · 0.45
MoveUpMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected