Function fromTranslation

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

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

    Parameters

    Returns mat2d

    out

Generated using TypeDoc