PlayRho  2.0.0
An interactive physics engine & library.
Physical Constants

Definitions of universal and Earthly physical constants. More...

Variables

constexpr auto playrho::BigG = static_cast<Real>(6.67408e-11f) * CubicMeter / (Kilogram * SquareSecond)
 Big "G". More...
 
constexpr auto playrho::EarthlyLinearAcceleration = static_cast<Real>(-9.8f) * MeterPerSquareSecond
 Earthly gravity. More...
 

Detailed Description

Definitions of universal and Earthly physical constants.

See also
Physical Quantity Types
Units For Physical Quantities

Variable Documentation

◆ BigG

constexpr auto playrho::BigG = static_cast<Real>(6.67408e-11f) * CubicMeter / (Kilogram * SquareSecond)
constexpr

Big "G".

Gravitational constant used in calculating the attractive force on a mass to another mass at a given distance due to gravity.

See also
https://en.wikipedia.org/wiki/Gravitational_constant

Referenced by playrho::d2::World::CalcGravitationalAcceleration().

◆ EarthlyLinearAcceleration

constexpr auto playrho::EarthlyLinearAcceleration = static_cast<Real>(-9.8f) * MeterPerSquareSecond
constexpr

Earthly gravity.

An approximation of the average acceleration of Earthly objects towards the Earth due to the Earth's gravity.

Note
This constant is only appropriate for use for objects of low mass and close distance relative to the Earth.
See also
https://en.wikipedia.org/wiki/Gravity_of_Earth