浏览代码

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

Jorrit Rouwe 3 年之前
父节点
当前提交
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