PlayRho  1.1.0
An Interactive Real-Time-Oriented C++ Physics Engine & Library
Physical Constants

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

Variables

constexpr auto playrho::EarthlyLinearAcceleration = Real{-9.8f} * MeterPerSquareSecond
 Earthly gravity. More...
 
constexpr auto playrho::BigG = Real{6.67408e-11f} * CubicMeter / (Kilogram * SquareSecond)
 Big "G". 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 = 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::CalcGravitationalAcceleration().

◆ EarthlyLinearAcceleration

constexpr auto playrho::EarthlyLinearAcceleration = 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