package com.codename1.gaming.physics.box2d.common

Math and utility types (vectors, matrices, transforms and engine settings) shared across the box2d physics engine.

Part of the box2d simulation engine, a derived work of JBox2D used under the BSD 2-Clause license; see com.codename1.gaming.physics for attribution.

Types

class Color3fSimilar to javax.vecmath.Color3f holder
interface IViewportTransformThis is the viewport transform used from drawing.
class Mat22A 2-by-2 matrix.
class Mat33A 3-by-3 matrix.
class MathUtilsA few math methods that don’t fit very well anywhere else.
class OBBViewportTransformOrientated bounding box viewport transform
class RaycastResult
class RotRepresents a rotation
class SettingsGlobal tuning constants based on MKS units and various integer maximums (vertices per shape, pairs, etc.).
class SweepThis describes the motion of a body/shape for TOI computation.
class TransformA transform contains translation and rotation.
class Vec2A 2D column vector
class Vec3