Function fromScaling

  • Creates a matrix from a vector scaling This is equivalent to (but much faster than):

    mat4.identity(dest);
    mat4.scale(dest, dest, vec);

    Parameters

    Returns mat4

    out

Generated using TypeDoc