/// <summary> /// Multiply this matrix by the tuple t and place the result /// back into the tuple (t = this*t). /// </summary> /// <remarks> /// Multiply this matrix by the tuple t and place the result /// back into the tuple (t = this*t). /// </remarks> /// <param name="t">the tuple to be multiplied by this matrix and then replaced</param> public void Transform(Tuple3f t) { float x; float y; float z; x = m00 * t.x + m01 * t.y + m02 * t.z; y = m10 * t.x + m11 * t.y + m12 * t.z; z = m20 * t.x + m21 * t.y + m22 * t.z; t.Set(x, y, z); }