Function setTranslation

  • Sets the translation component of a 4-by-4 matrix to the given vector.

    Type Parameters

    Parameters

    • a: BaseArgType

      The matrix.

    • v: BaseArgType

      The vector.

    • Optional dst: T

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

    Returns T

    The matrix with translation set.