diff options
author | Michael Pohoreski <ptolemy@lindenlab.com> | 2022-06-23 14:53:07 +0000 |
---|---|---|
committer | Michael Pohoreski <ptolemy@lindenlab.com> | 2022-06-23 14:53:07 +0000 |
commit | d67e1f4f91e4b206e36343ee31fa4877dd58c01c (patch) | |
tree | 0caf93cd03728bb4c5fbd52fb339531c765c6676 /indra/llrender/llcubemaparray.h | |
parent | 36d9fa90150d30a0a0851cc0da87531014c1d93d (diff) | |
parent | 6540b4c480d1d4b4c8342a0d093d09f525485659 (diff) |
Merged DRTVWR-559 into SL-17274_view_dir
Diffstat (limited to 'indra/llrender/llcubemaparray.h')
-rw-r--r-- | indra/llrender/llcubemaparray.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/llrender/llcubemaparray.h b/indra/llrender/llcubemaparray.h index 52e21f1dda..cbc0692afb 100644 --- a/indra/llrender/llcubemaparray.h +++ b/indra/llrender/llcubemaparray.h @@ -32,13 +32,20 @@ class LLVector3; -// Environment map hack! class LLCubeMapArray : public LLRefCount { public: LLCubeMapArray(); static GLenum sTargets[6]; + + // look and up vectors for each cube face (agent space) + static LLVector3 sLookVecs[6]; + static LLVector3 sUpVecs[6]; + + // look and up vectors for each cube face (clip space) + static LLVector3 sClipToCubeLookVecs[6]; + static LLVector3 sClipToCubeUpVecs[6]; // allocate a cube map array // res - resolution of each cube face |