summaryrefslogtreecommitdiff
path: root/indra/llmath
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2012-12-07 12:56:28 -0600
committerDave Parks <davep@lindenlab.com>2012-12-07 12:56:28 -0600
commit55159162364c30c08a6206bae1cc3dd3caaeb0d0 (patch)
tree950bd40be1c3907c28a613adf3d12733e9f84d48 /indra/llmath
parentc12b0e67f43bef05af2a655dd894f6ecf2099aeb (diff)
Optimization -- falcon says not using static here is more performant.
Diffstat (limited to 'indra/llmath')
-rw-r--r--indra/llmath/llcamera.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llmath/llcamera.cpp b/indra/llmath/llcamera.cpp
index 22ba26f99b..c14c117da9 100644
--- a/indra/llmath/llcamera.cpp
+++ b/indra/llmath/llcamera.cpp
@@ -163,7 +163,7 @@ size_t LLCamera::readFrustumFromBuffer(const char *buffer)
S32 LLCamera::AABBInFrustum(const LLVector4a &center, const LLVector4a& radius)
{
- static const LLVector4a scaler[] = {
+ const LLVector4a scaler[] = {
LLVector4a(-1,-1,-1),
LLVector4a( 1,-1,-1),
LLVector4a(-1, 1,-1),
@@ -207,7 +207,7 @@ S32 LLCamera::AABBInFrustum(const LLVector4a &center, const LLVector4a& radius)
S32 LLCamera::AABBInFrustumNoFarClip(const LLVector4a& center, const LLVector4a& radius)
{
- static const LLVector4a scaler[] = {
+ const LLVector4a scaler[] = {
LLVector4a(-1,-1,-1),
LLVector4a( 1,-1,-1),
LLVector4a(-1, 1,-1),