2
0
Эх сурвалжийг харах

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

Jorrit Rouwe 3 жил өмнө
parent
commit
75531e8ba6
1 өөрчлөгдсөн 0 нэмэгдсэн , 1 устгасан
  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));
 		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[3].mValue, vdupq_laneq_f32(c, 3));
 		result.mCol[i].mValue = t;
 	}
 #else