Matrix3x2d.setTranslation

Set only the translation components of this matrix <code>(m20, m21)</code> to the given values <code>(offset.x, offset.y)</code>. <p> To build a translation matrix instead, use {@link #translation(Vector2d)}. To apply a translation to another matrix, use {@link #translate(Vector2d)}.

@see #translation(Vector2d) @see #translate(Vector2d)

@param offset the new translation to set @return this

  1. Matrix3x2d setTranslation(double x, double y)
  2. Matrix3x2d setTranslation(Vector2d offset)
    struct Matrix3x2d
    ref return
    setTranslation

Meta