Matrix3x2d.translateLocal

Pre-multiply a translation to this matrix by translating by the given number of units in x and y and store the result in <code>dest</code>. <p> If <code>M</code> is <code>this</code> matrix and <code>T</code> the translation matrix, then the new matrix will be <code>T * M</code>. So when transforming a vector <code>v</code> with the new matrix by using <code>T * M * v</code>, the translation will be applied last! <p> In order to set the matrix to a translation transformation without pre-multiplying it, use {@link #translation(double, double)}.

@see #translation(double, double)

@param x the offset to translate in x @param y the offset to translate in y @param dest will hold the result @return dest

  1. Matrix3x2d translateLocal(Vector2d offset)
  2. Matrix3x2d translateLocal(Vector2d offset, Matrix3x2d dest)
  3. Matrix3x2d translateLocal(double x, double y, Matrix3x2d dest)
    struct Matrix3x2d
    translateLocal
    (
    double x
    ,
    double y
    ,)
  4. Matrix3x2d translateLocal(double x, double y)

Meta