From fc4daa1fe40d0127dbd1e9fdbd4031bade1f7522 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Mon, 4 Mar 2013 22:38:40 +0000 Subject: Ok, première version qui affiche le mesh correctement initializé avec OpenCL et qui affiche même un sinus radial sur un clic de souris mouse1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reste a capturer les evenements mouse wheel et/ou clavier. git-svn-id: file:///var/svn/2013-gpudataviz/trunk@19 371a6b4a-a258-45f8-9dcc-bdd82ce0ac9d --- src/boring_parts.hpp | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/boring_parts.hpp (limited to 'src/boring_parts.hpp') diff --git a/src/boring_parts.hpp b/src/boring_parts.hpp deleted file mode 100644 index 09404d8..0000000 --- a/src/boring_parts.hpp +++ /dev/null @@ -1,24 +0,0 @@ -#include - -#include /* Must included before X11/Xlib.h */ -//#include /* Seems included by GL/glxew.h */ -//#include /* For GLXContext, must appear before gl.h, includes X11/Xlib.h */ -#include /* Includes a GL/gl.h (the right one ??) */ - -//#include -#include -//#include - -#ifdef HAS_OPENCL -// Blabla -#else -// Quick and dirty cl_float4 replacement -typedef union { - float s[4]; - struct{ float x, y, z, w; }; - struct{ float s0, s1, s2, s3; }; -} cl_float4; -#endif /*HAS_OPENCL*/ - -bool updateGLProjectionMatrix(Glib::RefPtr glCtx, Glib::RefPtr glWin, int width, int height); - -- cgit v1.2.3