Package gl-matrix/f64

    Provides the modern gl-matrix API (64-bit). All classes extend from Float64Array. The API is identical to the main 32-bit variation.

    import { Vec3 } from 'gl-matrix/f64';

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

    If you have a need to mix and match the 64-bit and 32-bit versions you can do so by importing them as different names.

    import { Vec3 as Vec3F32 } from 'gl-matrix';
    import { Vec3 as Vec3F64 } from 'gl-matrix/f64';

    Classes

    Mat2
    Mat2d
    Mat3
    Mat4
    Quat
    Quat2
    Vec2
    Vec3
    Vec4