Function fromScaling

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

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

    Parameters

    Returns mat2

    out

Generated using TypeDoc