Vertex Viewer SDK
    Preparing search index...

    Function makeTranslation

    • Creates a translation matrix.

      1, 0, 0, 0,
      0, 1, 0, 0,
      0, 0, 1, 0,
      x, y, z, 1

      Parameters

      • translation: Vector3.Vector3

        A vector representing the translation components.

      Returns Matrix4.Matrix4

      A translation matrix.