Function setDefaultType

  • Sets the type this library creates for a Mat3

    Parameters

    • ctor: (new (n) => Mat3)

      the constructor for the type. Either Float32Array, Float64Array, or Array

        • new (n): Mat3
        • Parameters

          • n: number

          Returns Mat3

    Returns Mat3LikeCtor

    previous constructor for Mat3