Class Gravity

Represents a Newtonian Gravitational force object.

Implements

Constructors

Properties

G

Methods

Constructors

  • Create a new Gravity with the provided gravitational constant.

    Parameters

    • G: number = 6.674e-11

      gravitational constant.

    Returns Gravity

Properties

G: number

Gravitational constant.

Default Value

6.674e-11

Methods

Generated using TypeDoc