Package gl-matrix

    Provides the modern gl-matrix API (32-bit). All classes extend from Float32Array.

    import { Vec3 } from 'gl-matrix';

    const vec = new Vec3(0, 1, 2);

    Classes

    Mat2
    Mat2d
    Mat3
    Mat4
    Quat
    Quat2
    Vec2
    Vec3
    Vec4