Jypeli 4
The simple game programming library
|
This class Stores mass information and Moment of Inertia Together since they are very closly related. Lisää...
Julkiset jäsenfunktiot | |
MassInfo (Scalar mass, Scalar momentOfInertia) | |
MassInfo | Duplicate () |
object | Clone () |
Staattiset julkiset jäsenfunktiot | |
static Scalar | InertiaOfCylindricalShell (Scalar radius) |
static Scalar | InertiaOfHollowCylinder (Scalar innerRadius, Scalar outerRadius) |
static Scalar | InertiaOfSolidCylinder (Scalar radius) |
static Scalar | InertiaOfRectangle (Scalar length, Scalar width) |
static Scalar | InertiaOfSquare (Scalar sideLength) |
static MassInfo | FromCylindricalShell (Scalar mass, Scalar radius) |
static MassInfo | FromHollowCylinder (Scalar mass, Scalar innerRadius, Scalar outerRadius) |
static MassInfo | FromSolidCylinder (Scalar mass, Scalar radius) |
static MassInfo | FromRectangle (Scalar mass, Scalar length, Scalar width) |
static MassInfo | FromSquare (Scalar mass, Scalar sideLength) |
static MassInfo | FromPolygon (Vector2D[] vertexes, Scalar mass) |
Ominaisuudet | |
static MassInfo | Infinite [get] |
A body with this mass will not be affected by forces or impulse. | |
Scalar | Mass [get, set] |
Scalar | MomentOfInertia [get, set] |
Scalar | MassInv [get] |
Scalar | MomentOfInertiaInv [get] |
Scalar | AccelerationDueToGravity [get] |
This class Stores mass information and Moment of Inertia Together since they are very closly related.
MassInfo Infinite [static, get] |
A body with this mass will not be affected by forces or impulse.
This is the mass of Chuck Norris.