MCPcopy Create free account
hub / github.com/OpenNFS/OpenNFS / applyBrakingForce

Method applyBrakingForce

src/Physics/Car.cpp:420–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420void Car::applyBrakingForce(bool apply)
421{
422 if (apply) {
423 gBreakingForce = maxBreakingForce;
424 } else {
425 gBreakingForce = 0.f;
426 }
427}
428
429void Car::resetCar(glm::vec3 reset_position, glm::quat reset_orientation)
430{

Callers 1

RenderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected