Matrix4d.mulAffineR

Multiply this matrix by the supplied <code>right</code> matrix, which is assumed to be {@link #isAffine() affine}, and store the result in <code>this</code>. <p> This method assumes that the given <code>right</code> matrix represents an {@link #isAffine() affine} transformation (i.e. its last row is equal to <code>(0, 0, 0, 1)</code>) and can be used to speed up matrix multiplication if the matrix only represents affine transformations, such as translation, rotation, scaling and shearing (in any combination). <p> If <code>M</code> is <code>this</code> matrix and <code>R</code> the <code>right</code> matrix, then the new matrix will be <code>M * R</code>. So when transforming a vector <code>v</code> with the new matrix by using <code>M * R * v</code>, the transformation of the right matrix will be applied first!

@param right the right operand of the matrix multiplication (the last row is assumed to be <code>(0, 0, 0, 1)</code>) @return this

  1. Matrix4d mulAffineR(Matrix4d right)
    struct Matrix4d
    ref public return
    mulAffineR
  2. Matrix4d mulAffineR(Matrix4d right, Matrix4d dest)

Meta