Matrix4d.translation

Set this matrix to be a simple translation matrix. <p> The resulting matrix can be multiplied against another transformation matrix to obtain an additional translation.

@param offset the offsets in x, y and z to translate @return this

  1. Matrix4d translation(double x, double y, double z)
  2. Matrix4d translation(Vector3d offset)
    struct Matrix4d
    ref return
    translation

Meta