Browse Source

Fix for ARM: Multiply3x3(Mat44) did an extra multiplication

Jorrit Rouwe 3 years ago
parent
commit
75531e8ba6
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Jolt/Math/Mat44.inl

+ 0 - 1
Jolt/Math/Mat44.inl

@@ -330,7 +330,6 @@ Mat44 Mat44::Multiply3x3(Mat44Arg inM) const
 		Type t = vmulq_f32(mCol[0].mValue, vdupq_laneq_f32(c, 0));
 		Type t = vmulq_f32(mCol[0].mValue, vdupq_laneq_f32(c, 0));
 		t = vmlaq_f32(t, mCol[1].mValue, vdupq_laneq_f32(c, 1));
 		t = vmlaq_f32(t, mCol[1].mValue, vdupq_laneq_f32(c, 1));
 		t = vmlaq_f32(t, mCol[2].mValue, vdupq_laneq_f32(c, 2));
 		t = vmlaq_f32(t, mCol[2].mValue, vdupq_laneq_f32(c, 2));
-		t = vmlaq_f32(t, mCol[3].mValue, vdupq_laneq_f32(c, 3));
 		result.mCol[i].mValue = t;
 		result.mCol[i].mValue = t;
 	}
 	}
 #else
 #else