X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FAPI_Bilat_GL%2FINC%2FViewport.h;fp=WCudaMSE%2FAPI_Bilat_GL%2FINC%2FViewport.h;h=7ac8306452cd6be36e1276fc36f3fb41a4e68bc6;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/API_Bilat_GL/INC/Viewport.h b/WCudaMSE/API_Bilat_GL/INC/Viewport.h new file mode 100755 index 0000000..7ac8306 --- /dev/null +++ b/WCudaMSE/API_Bilat_GL/INC/Viewport.h @@ -0,0 +1,20 @@ +#ifndef VIEWPORT_H +#define VIEWPORT_H + +#include "envBilatGL.h" + +class CBI_GL Viewport + { + public: + Viewport(int x=0,int y=0,int w=0,int h=0); + float getRatio() const; + + public: + int x; + int y; + int w; + int h; + + }; + +#endif