Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_GL / INC / Viewport.h
diff --git a/WCudaMSE/API_Bilat_GL/INC/Viewport.h b/WCudaMSE/API_Bilat_GL/INC/Viewport.h
new file mode 100755 (executable)
index 0000000..7ac8306
--- /dev/null
@@ -0,0 +1,20 @@
+#ifndef VIEWPORT_H\r
+#define VIEWPORT_H\r
+\r
+#include "envBilatGL.h"\r
+\r
+class CBI_GL Viewport\r
+    {\r
+    public:\r
+       Viewport(int x=0,int y=0,int w=0,int h=0);\r
+       float getRatio() const;\r
+\r
+    public:\r
+       int x;\r
+       int y;\r
+       int w;\r
+       int h;\r
+\r
+    };\r
+\r
+#endif\r