From 7d338433d41418ae251919d665c3dab2652b0c26 Mon Sep 17 00:00:00 2001 From: Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> Date: Wed, 22 Apr 2026 21:33:10 +0300 Subject: Revert #2674 property lines optimizations QA found no difference performance wise, I see a decrease in performance. --- indra/llmath/v3math.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'indra/llmath') diff --git a/indra/llmath/v3math.h b/indra/llmath/v3math.h index 0e11dca876..196ecdcf7d 100644 --- a/indra/llmath/v3math.h +++ b/indra/llmath/v3math.h @@ -155,7 +155,6 @@ class LLVector3 friend const LLVector3& operator*=(LLVector3 &a, const LLVector3 &b); // Returns a * b; friend const LLVector3& operator*=(LLVector3 &a, F32 k); // Return a times scaler k friend const LLVector3& operator/=(LLVector3 &a, F32 k); // Return a divided by scaler k - friend const LLVector3& operator/=(LLVector3& a, const LLVector3& b); friend const LLVector3& operator*=(LLVector3 &a, const LLQuaternion &b); // Returns a * b; friend LLVector3 operator-(const LLVector3 &a); // Return vector -a @@ -461,14 +460,6 @@ inline const LLVector3& operator/=(LLVector3& a, F32 k) return a; } -inline const LLVector3& operator/=(LLVector3& a, const LLVector3& b) -{ - a.mV[VX] /= b.mV[VX]; - a.mV[VY] /= b.mV[VY]; - a.mV[VZ] /= b.mV[VZ]; - return a; -} - inline LLVector3 operator-(const LLVector3& a) { return LLVector3(-a.mV[VX], -a.mV[VY], -a.mV[VZ]); -- cgit v1.3