Explorar o código

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

Jorrit Rouwe %!s(int64=3) %!d(string=hai) anos
pai
achega
75531e8ba6
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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