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

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

    Parameters

    Returns mat2d

    out

Generated using TypeDoc