View Source API Reference graphmath v3.0.0

Modules

2x2 matrices and linear transformations of 2D vectors.

3x3 matrices for 3D linear algebra and 2D affine transformations.

4x4 matrices and 3D transformations, using tuples of floats.

Quaternion arithmetic and 3D rotations using {w, x, y, z} tuples of floats.

This is the 2D mathematics.

This is the 3D mathematics.

Four-dimensional vectors stored as {x, y, z, w} tuples of floats.