Function translate

  • Translates the given 4-by-4 matrix by the given vector v.

    Type Parameters

    Parameters

    • m: BaseArgType

      The matrix.

    • v: BaseArgType

      The vector by which to translate.

    • Optional dst: T

      matrix to hold result. If not passed a new one is created.

    Returns T

    The translated matrix.