Expand description
Frequently used types and constructor functions.
Structs§
- Color
- Unpremultiplied RGBA floating-point channels. No implicit gamma conversion.
- Mat4
- Column-major 4x4 matrix acting on column vectors:
translation * rotation * scale. - Quat
- Quaternion stored as vector part
(x,y,z)followed by scalar partw. - Rect
- Axis-aligned 2D rectangle. Width and height should be nonnegative.
- Vec2
- Vec3
- Vec4
Enums§
- Euler
Rot - Intrinsic Euler rotations:
XYZ(a,b,c)composesRx(a) * Ry(b) * Rz(c).