math module
Vectors, rectangles, shapes, intersection tests and 2D affine transforms. Depends on nothing.
The public headers in engine/math/. Choose a page for its declarations, contracts, related types, and links to the samples and tests that include it.
Headers
Section titled “Headers”| Reference page | Header |
|---|---|
| Vector2F | vector2f.h |
| Vector2I | vector2i.h |
| RectangleF | rectanglef.h |
| RectangleI | rectanglei.h |
| Matrix3x2F | matrix3x2f.h |
| Scalars and tolerance | scalar.h |
| Shape | shape.h |
| ShapeType | shape_type.h |
| Circle | circle.h |
| Triangle | triangle.h |
| Quad | quad.h |
| RectangleRotated | rectangle_rotated.h |
| Segment | segment.h |
| Intersection tests | intersects.h |
| Inflating shapes | inflate.h |
| Ericson routines | ericson_math.h |
Keep reading
Section titled “Keep reading”Concepts explains how the engine fits together. Guides walks through tasks using code from the samples. About the reference lists every module and explains how these pages are generated.
Development documentation (unreleased). Built from Labrador 862e08b of 2026-10-08.