mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 11:45:36 +02:00
add glu includes on OS X to stopgap GLUT removal
This commit is contained in:
parent
715b3a245e
commit
115dc28c9c
4 changed files with 19 additions and 1 deletions
|
@ -10,11 +10,14 @@
|
|||
//
|
||||
// Creates single flexible verlet-integrated strands that can be used for hair/fur/grass
|
||||
|
||||
#include "Hair.h"
|
||||
#include <gpu/GPUConfig.h>
|
||||
|
||||
#include "Util.h"
|
||||
#include "world.h"
|
||||
|
||||
#include "Hair.h"
|
||||
|
||||
|
||||
const float HAIR_DAMPING = 0.99f;
|
||||
const float CONSTRAINT_RELAXATION = 10.0f;
|
||||
const float HAIR_ACCELERATION_COUPLING = 0.045f;
|
||||
|
|
|
@ -13,6 +13,11 @@
|
|||
|
||||
#include <gpu/GPUConfig.h>
|
||||
|
||||
// TODO: remove calls to gluProject to remove this include
|
||||
#ifdef __APPLE__
|
||||
#include <OpenGL/glu.h>
|
||||
#endif
|
||||
|
||||
#include <QDesktopWidget>
|
||||
#include <QWindow>
|
||||
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
|
||||
#include "InterfaceConfig.h"
|
||||
|
||||
// TODO: remove calls to gluProject to remove this include
|
||||
#ifdef __APPLE__
|
||||
#include <OpenGL/glu.h>
|
||||
#endif
|
||||
|
||||
#include <QOpenGLFramebufferObject>
|
||||
|
||||
#include <PathUtils.h>
|
||||
|
|
|
@ -11,6 +11,11 @@
|
|||
|
||||
#include "InterfaceConfig.h"
|
||||
|
||||
// TODO: remove calls to gluProject to remove this include
|
||||
#ifdef __APPLE__
|
||||
#include <OpenGL/glu.h>
|
||||
#endif
|
||||
|
||||
#include <QMouseEvent>
|
||||
|
||||
#include <PathUtils.h>
|
||||
|
|
Loading…
Reference in a new issue