Havok: Fix typos in hkVector4f::_setRotatedDir

This commit is contained in:
Léo Lam 2022-01-14 15:02:58 +01:00
parent ea9cc90f29
commit e5dc569cd6
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
1 changed files with 3 additions and 3 deletions

View File

@ -295,9 +295,9 @@ inline void hkVector4f::setAbs(hkVector4fParameter a) {
inline void hkVector4f::_setRotatedDir(const hkMatrix3f& a, hkVector4fParameter b) {
#ifdef HK_VECTOR4F_AARCH64_NEON
auto col0 = vmulq_laneq_f32(a.m_col0.v, v, 0);
auto col1 = vmulq_laneq_f32(a.m_col1.v, v, 1);
auto col2 = vmulq_laneq_f32(a.m_col2.v, v, 2);
auto col0 = vmulq_laneq_f32(a.m_col0.v, b.v, 0);
auto col1 = vmulq_laneq_f32(a.m_col1.v, b.v, 1);
auto col2 = vmulq_laneq_f32(a.m_col2.v, b.v, 2);
v = col0 + col1 + col2;
#else
setMul(a.m_col0, b[0]);