webgl-matrix
Getting Started
This is a lightweight matrix / vector library meant for usage with WebGL.
At the core this library only consists of the traits Matrix
and Vector
. All implementations are optional features and can be added as needed.
Available features:
Matrix4
: 4x4 matrix operations (includes Vector4)Matrix3
: 3x3 matrix operations (includes Vector3)Vector4
: 4-dimensional vector operationsVector3
: 3-dimensional vector operationsSliceOps
: Low level slice operations such as addition, subtraction, scaling etc.
Examples
All the types are simple arrays. You may also just use slices as operands.
use ;