-
2D and 3D vectors
- Scale
- Dot & cross product
- Normalization
-
4 by 4 square matrix
- Initialization (null and identity)
- Multiplication
- Graphics: 2D orthographic projection
- Graphics: view matrix
- Graphics: transformations (translation, scale and rotation)
Just copy math.h and math.c into your project.