Function translation

  • Creates a 3-by-3 matrix which translates by the given vector v.

    Type Parameters

    Parameters

    • 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 translation matrix.