Physical Constants

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

Variables

const PLAYRHO_CONSTEXPR auto playrho::EarthlyLinearAcceleration = Real{-9.8f} * MeterPerSquareSecond
 Earthly gravity. More...
 
const PLAYRHO_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

◆ EarthlyLinearAcceleration

const PLAYRHO_CONSTEXPR auto playrho::EarthlyLinearAcceleration = Real{-9.8f} * MeterPerSquareSecond

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

Definition at line 809 of file Units.hpp.

◆ BigG

const PLAYRHO_CONSTEXPR auto playrho::BigG = Real{6.67408e-11f} * CubicMeter / (Kilogram * SquareSecond)

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

Definition at line 815 of file Units.hpp.