From 2d50e14a3be3d93d9dcf72998691f0f6f0e7c771 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Thu, 7 Feb 2019 21:06:33 +0000 Subject: Gem f3be46d2265d6e2ec7abd3bf7ac888faf56e0c1a linux/amd64 built 'master:f3be46d2265d6e2ec7abd3bf7ac888faf56e0c1a' for linux/amd64 --- Gem/develop/include/Gem/Gem/GemGL.h | 10 +++++++++- Gem/develop/include/Gem/Utils/GLUtil.h | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'Gem/develop') diff --git a/Gem/develop/include/Gem/Gem/GemGL.h b/Gem/develop/include/Gem/Gem/GemGL.h index ef3b250..49ac407 100644 --- a/Gem/develop/include/Gem/Gem/GemGL.h +++ b/Gem/develop/include/Gem/Gem/GemGL.h @@ -32,11 +32,19 @@ # define GLEW_MX #endif +#ifndef GEM_HAVE_GLU +# define GLEW_NO_GLU +#else +#endif + + #ifdef __EMSCRIPTEN__ # include # include # include -# include +# ifdef GEM_HAVE_GLU +# include +# endif #else # include "Gem/glew.h" #endif diff --git a/Gem/develop/include/Gem/Utils/GLUtil.h b/Gem/develop/include/Gem/Utils/GLUtil.h index fb15b25..a28377c 100644 --- a/Gem/develop/include/Gem/Utils/GLUtil.h +++ b/Gem/develop/include/Gem/Utils/GLUtil.h @@ -46,6 +46,8 @@ GEM_EXTERN extern int getGLdefine(const struct _symbol *name); GEM_EXTERN extern int getGLdefine(const struct _atom *name); GEM_EXTERN extern int getGLbitfield(int argc, struct _atom *argv); +GEM_EXTERN extern void gluLookAt(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble); +GEM_EXTERN extern void gluPerspective(GLdouble, GLdouble, GLdouble, GLdouble); -- cgit v1.2.1