From b9a16a6c1d18c8be9e374e5790d012e035cb5846 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sat, 1 Apr 2023 22:37:12 +0200 Subject: [PATCH] Revert change These should call the 'flt4x' version of Rotate* instead. --- r5dev/mathlib/ssemath.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/r5dev/mathlib/ssemath.h b/r5dev/mathlib/ssemath.h index 98091686..b8ed98d1 100644 --- a/r5dev/mathlib/ssemath.h +++ b/r5dev/mathlib/ssemath.h @@ -5241,14 +5241,18 @@ inline FourVectors minimum(const FourVectors& a, const FourVectors& b) FORCEINLINE FourVectors RotateLeft(const FourVectors& src) { - FourVectors ret = RotateLeft(src); - return ret; + FourVectors ret; + ret.x = RotateLeft(src.x); + ret.y = RotateLeft(src.y); + ret.z = RotateLeft(src.z); } FORCEINLINE FourVectors RotateRight(const FourVectors& src) { - FourVectors ret = RotateRight(src); - return ret; + FourVectors ret; + ret.x = RotateRight(src.x); + ret.y = RotateRight(src.y); + ret.z = RotateRight(src.z); } FORCEINLINE FourVectors MaskedAssign(const bi32x4& ReplacementMask, const FourVectors& NewValue, const FourVectors& OldValue) {