Package-level declarations

Properties

Link copied to clipboard

The default collision category bits. Normally you would just set one bit.

Link copied to clipboard

The default collision mask bits (all bits set, collides with everything).

Link copied to clipboard
const val B2_FLT_EPSILON: Float = 1.1920929E-7f

Single-precision floating point epsilon, used as a minimum threshold for normalization.

Link copied to clipboard
const val B2_HUGE: Float = 100000.0f

A large value used as an upper bound for distances and lengths. Positions greater than about 16km will have precision problems, so 100km as a limit should be fine in all cases.

Link copied to clipboard

Maximum number of vertices for a convex polygon.