Skip to content

Commit

Permalink
Fix C version of ArrayQuaternion::Cmov4 (#141)
Browse files Browse the repository at this point in the history
Fixes #141
  • Loading branch information
darksylinc committed Sep 27, 2020
1 parent 82c2bf1 commit c07d9bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OgreMain/include/Math/Array/C/OgreArrayQuaternion.inl
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ namespace Ogre
inline void ArrayQuaternion::Cmov4( ArrayMaskR mask, const ArrayQuaternion &replacement )
{
ArrayReal * RESTRICT_ALIAS aChunkBase = &w;
const ArrayReal * RESTRICT_ALIAS bChunkBase = &w;
const ArrayReal * RESTRICT_ALIAS bChunkBase = &replacement.w;
aChunkBase[0] = MathlibC::Cmov4( aChunkBase[0], bChunkBase[0], mask );
aChunkBase[1] = MathlibC::Cmov4( aChunkBase[1], bChunkBase[1], mask );
aChunkBase[2] = MathlibC::Cmov4( aChunkBase[2], bChunkBase[2], mask );
Expand Down

0 comments on commit c07d9bf

Please sign in to comment.