tweak VIEWTYPE related code

This commit is contained in:
Garux
2019-08-23 14:40:45 +03:00
parent 15cf9d0b55
commit 1e0f7ba781
7 changed files with 48 additions and 121 deletions

View File

@@ -111,6 +111,9 @@ enum VIEWTYPE
XY = 2
};
#define NDIM1NDIM2( viewtype ) const int nDim1 = ( viewtype == YZ ) ? 1 : 0, \
nDim2 = ( viewtype == XY ) ? 1 : 2;
// the radiant core API
struct _QERFuncTable_1
{