Skip to main content

Module math3d

Module math3d 

Source
Expand description

Zero-dependency 3D linear algebra engine: Vec3, Vec4, Quat, Mat4, and Ray3D.

Structsยง

Mat4
4x4 Column-Major Matrix for 3D Graphics Pipelines
Ray3D
3D Ray for screen-to-world raycasting
Vec3
3D Vector
Vec4
4D Vector (Homogeneous coordinates)