aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmath/xform.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/llmath/xform.h
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
Diffstat (limited to 'linden/indra/llmath/xform.h')
-rw-r--r--linden/indra/llmath/xform.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/linden/indra/llmath/xform.h b/linden/indra/llmath/xform.h
index 8fd1e9e..ad2a944 100644
--- a/linden/indra/llmath/xform.h
+++ b/linden/indra/llmath/xform.h
@@ -35,10 +35,12 @@
35#include "m4math.h" 35#include "m4math.h"
36#include "llquaternion.h" 36#include "llquaternion.h"
37 37
38const F32 MAX_OBJECT_Z = 768.f; 38const F32 MAX_OBJECT_Z = 4096.f; // should match REGION_HEIGHT_METERS, Pre-havok4: 768.f
39const F32 MIN_OBJECT_Z = -256.f; 39const F32 MIN_OBJECT_Z = -256.f;
40const F32 MIN_OBJECT_SCALE = 0.01f; 40const F32 DEFAULT_MAX_PRIM_SCALE = 10.f;
41const F32 MAX_OBJECT_SCALE = 10.f; 41const F32 MIN_PRIM_SCALE = 0.01f;
42const F32 MAX_PRIM_SCALE = 65536.f; // something very high but not near FLT_MAX
43
42 44
43class LLXform 45class LLXform
44{ 46{
@@ -138,7 +140,7 @@ public:
138 140
139 void init() 141 void init()
140 { 142 {
141 mWorldMatrix.identity(); 143 mWorldMatrix.setIdentity();
142 mMin.clearVec(); 144 mMin.clearVec();
143 mMax.clearVec(); 145 mMax.clearVec();
144 146