From 5cc44523f79b6cf495d2649fce9bf9e5181787e8 Mon Sep 17 00:00:00 2001 From: Aaron Brashears Date: Fri, 9 Feb 2007 23:35:12 +0000 Subject: Result of svn merge -r57350:57790 svn+ssh://svn/svn/linden/branches/os-patches.001 into release. --- indra/llmath/lloctree.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'indra/llmath') diff --git a/indra/llmath/lloctree.h b/indra/llmath/lloctree.h index 69ff43452c..bea21e22c6 100644 --- a/indra/llmath/lloctree.h +++ b/indra/llmath/lloctree.h @@ -170,17 +170,10 @@ public: static void pushCenter(LLVector3d ¢er, LLVector3d &size, T* data) { - LLVector3 pos(data->getPositionGroup()); - F64 p[] = - { - (F64) pos.mV[0], - (F64) pos.mV[1], - (F64) pos.mV[2] - }; - + LLVector3d pos(data->getPositionGroup()); for (U32 i = 0; i < 3; i++) { - if (p[i] > center.mdV[i]) + if (pos.mdV[i] > center.mdV[i]) { center.mdV[i] += size.mdV[i]; } -- cgit v1.3