Function fromScaling

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

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

    Parameters

    Returns mat3

    out

Generated using TypeDoc