Function fromTranslation

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

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

    Parameters

    Returns mat4

    out

Generated using TypeDoc