mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 18:50:00 +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
|
// 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 "Util.h"
|
||||||
#include "world.h"
|
#include "world.h"
|
||||||
|
|
||||||
|
#include "Hair.h"
|
||||||
|
|
||||||
|
|
||||||
const float HAIR_DAMPING = 0.99f;
|
const float HAIR_DAMPING = 0.99f;
|
||||||
const float CONSTRAINT_RELAXATION = 10.0f;
|
const float CONSTRAINT_RELAXATION = 10.0f;
|
||||||
const float HAIR_ACCELERATION_COUPLING = 0.045f;
|
const float HAIR_ACCELERATION_COUPLING = 0.045f;
|
||||||
|
|
|
@ -13,6 +13,11 @@
|
||||||
|
|
||||||
#include <gpu/GPUConfig.h>
|
#include <gpu/GPUConfig.h>
|
||||||
|
|
||||||
|
// TODO: remove calls to gluProject to remove this include
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#include <OpenGL/glu.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <QDesktopWidget>
|
#include <QDesktopWidget>
|
||||||
#include <QWindow>
|
#include <QWindow>
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
|
|
||||||
#include "InterfaceConfig.h"
|
#include "InterfaceConfig.h"
|
||||||
|
|
||||||
|
// TODO: remove calls to gluProject to remove this include
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#include <OpenGL/glu.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <QOpenGLFramebufferObject>
|
#include <QOpenGLFramebufferObject>
|
||||||
|
|
||||||
#include <PathUtils.h>
|
#include <PathUtils.h>
|
||||||
|
|
|
@ -11,6 +11,11 @@
|
||||||
|
|
||||||
#include "InterfaceConfig.h"
|
#include "InterfaceConfig.h"
|
||||||
|
|
||||||
|
// TODO: remove calls to gluProject to remove this include
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#include <OpenGL/glu.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <QMouseEvent>
|
#include <QMouseEvent>
|
||||||
|
|
||||||
#include <PathUtils.h>
|
#include <PathUtils.h>
|
||||||
|
|
Loading…
Reference in a new issue