Mathematics
Section titled “Mathematics”Find types in this project category. Each type links to its exact declarations and member contracts.
| Type | Purpose |
|---|---|
| Color | Represents mutable RGBA channels whose constructor clamps finite inputs to [0, 1]. |
| MathHelper | Contains commonly used precalculated values and mathematical operations. |
| Matrix | Represents a mutable four-by-four transformation matrix using column-vector multiplication. |
| Quaternion | Represents a rotation as a normalized four-component quaternion. |
| Rect | Represents an axis-aligned rectangle with float coordinates. Coordinates assume Y-axis points upwards (top smaller than bottom). |
| RectInt | Represents an axis-aligned rectangle with integer coordinates. Coordinates assume Y-axis points upwards (top smaller than bottom). |
| Vector2 | Represents a mutable vector2 value with component-wise arithmetic semantics. |
| Vector2Int | Represents a mutable vector2int value with component-wise arithmetic semantics. |
| Vector3 | Represents a mutable vector3 value with component-wise arithmetic semantics. |
| Vector3Int | Represents a mutable vector3int value with component-wise arithmetic semantics. |
| Vector4 | Represents a mutable vector4 value with component-wise arithmetic semantics. |
| Vector4Int | Represents a mutable vector4int value with component-wise arithmetic semantics. |