]> git.tdb.fi Git - libs/gl.git/commit
Lookup functions to determine the orientation of cube map faces
authorMikko Rasa <tdb@tdb.fi>
Mon, 13 Aug 2012 17:47:53 +0000 (20:47 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 13 Aug 2012 17:47:53 +0000 (20:47 +0300)
commit2157e9320c60d561208dfdf6034e9a06781c9f30
tree4d304a0e4a3f42471a48fa1daeb5e02776968125
parent164d77011ab4ebe76c9bf2b7ed8d8dd8ebc20e61
Lookup functions to determine the orientation of cube map faces

The orientations are somewhat arbitary and not deducible with a simple
algorithm.  Writing the necessary conditional ladders everywhere would
be annoying.
source/texturecube.cpp
source/texturecube.h