Skip to content

Math Library

Shmellyorc edited this page Aug 31, 2026 · 2 revisions

Math Library

Void includes a comprehensive set of math utilities for game development. Each type is documented in its own page.


Vector Types

Type Description
Vect2 2D vector with arithmetic, transformations, and geometric operations
Vect3 3D vector for spatial calculations
Vect4 4D vector for homogeneous coordinates and quaternions

Geometric Types

Type Description
Rect2 2D axis-aligned rectangle with containment, intersection, and union operations

Color

Type Description
Color RGBA color with hex parsing, blending, and arithmetic operations

Animation

Type Description
Easing 33 easing functions across 11 families with In, Out, InOut, and OutIn variants

Random

Type Description
FastRandom High-performance thread-safe random number generator using Xorshift128

Related

  • MathHelper - Constants, interpolation, clamping, wrapping, and conversion functions

Back to Home

Clone this wiki locally