Havok: Fix bugged vnegq_f32 in hkVector4f::setNeg<3>

This commit is contained in:
Léo Lam 2022-03-29 17:44:39 +02:00
parent 0a19a4b057
commit 5d6f2f0569
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ inline void hkVector4f::setNeg(hkVector4fParameter a) {
}
case 3: {
auto zw = vget_high_f32(a.v);
v = vnegq_f32(v);
v = vnegq_f32(a.v);
v = vsetq_lane_f32(vget_lane_f32(zw, 1), v, 3);
break;
}