Function fromTranslation

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

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

    Parameters

    Returns mat3

    out

Generated using TypeDoc