Table of Contents

Class Precision

Namespace
Jitter2
Assembly
Jitter2.dll

Provides constants and utilities related to floating-point precision configuration. The library can be compiled with single-precision (float) or double-precision (double) by defining the USE_DOUBLE_PRECISION symbol.

public static class Precision
Inheritance
Precision
Inherited Members

Fields

ConstraintSizeFull

The size in bytes of a full constraint data structure.

public const int ConstraintSizeFull = 256

Field Value

int

ConstraintSizeSmall

The size in bytes of a small constraint data structure.

public const int ConstraintSizeSmall = 128

Field Value

int

RigidBodyDataSize

The size in bytes of the RigidBodyData structure.

public const int RigidBodyDataSize = 128

Field Value

int

Properties

IsDoublePrecision

Gets a value indicating whether the engine is configured to use double-precision floating-point numbers.

public static bool IsDoublePrecision { get; }

Property Value

bool