math docs
    Preparing search index...

    Function scale

    • Scales the mat4 by the dimensions in the given vec3 not using vectorization

      Parameters

      • out: mat4.Mat4

        the receiving matrix

      • a: readonly [
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
            number,
        ]

        the matrix to scale

      • v: readonly [number, number, number]

        the vec3 to scale the matrix by

      Returns mat4.Mat4

      out