mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-16 14:40:05 +00:00
fixes for buildsystem
This commit is contained in:
parent
f9832f6b88
commit
9022f8cc70
@ -3,8 +3,6 @@ SubDir TOP Demos OpenGL ;
|
||||
if $(GLUT.AVAILABLE) = "yes"
|
||||
{
|
||||
|
||||
IncludeDir Extras/PhysicsInterface/Common ;
|
||||
IncludeDir Extras/PhysicsInterface/CcdPhysics ;
|
||||
|
||||
Description bulletopenglsupport : "Bullet OpenGL support" ;
|
||||
Library bulletopenglsupport :
|
||||
@ -12,8 +10,6 @@ IncludeDir Extras/PhysicsInterface/CcdPhysics ;
|
||||
;
|
||||
|
||||
CFlags bulletopenglsupport :
|
||||
[ FIncludes $(TOP)/Extras/PhysicsInterface/Common ]
|
||||
[ FIncludes $(TOP)/Extras/PhysicsInterface/CcdPhysics ]
|
||||
;
|
||||
|
||||
LibDepends bulletopenglsupport : bulletdynamics ;
|
||||
|
@ -88,8 +88,8 @@ do { \
|
||||
|
||||
typedef btScalar dMatrix3[4*3];
|
||||
|
||||
void dLineClosestApproach (const btVector3 pa, const btVector3 ua,
|
||||
const btVector3 pb, const btVector3 ub,
|
||||
void dLineClosestApproach (const btVector3& pa, const btVector3& ua,
|
||||
const btVector3& pb, const btVector3& ub,
|
||||
btScalar *alpha, btScalar *beta)
|
||||
{
|
||||
btVector3 p;
|
||||
@ -253,9 +253,9 @@ void cullPoints2 (int n, btScalar p[], int m, int i0, int iret[])
|
||||
|
||||
|
||||
|
||||
int dBoxBox2 (const btVector3 p1, const dMatrix3 R1,
|
||||
const btVector3 side1, const btVector3 p2,
|
||||
const dMatrix3 R2, const btVector3 side2,
|
||||
int dBoxBox2 (const btVector3& p1, const dMatrix3 R1,
|
||||
const btVector3& side1, const btVector3& p2,
|
||||
const dMatrix3 R2, const btVector3& side2,
|
||||
btVector3& normal, btScalar *depth, int *return_code,
|
||||
int maxc, dContactGeom *contact, int skip,btDiscreteCollisionDetectorInterface::Result& output)
|
||||
{
|
||||
|
@ -95,9 +95,11 @@
|
||||
#include <GLUT/glut.h>
|
||||
#include <OpenGL/glext.h>
|
||||
#else
|
||||
#include <GL/glut.h>
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glew.h>
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glut.h>
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef DISABLE_GL_ERROR_CHECKS
|
||||
|
@ -12,8 +12,7 @@ if $(GLUT.AVAILABLE) = "yes"
|
||||
;
|
||||
MsvcIncDirs $(<) :
|
||||
"../../Demos/OpenGL"
|
||||
"../../Extras/PhysicsInterface/CcdPhysics"
|
||||
"../../Extras/PhysicsInterface/Common" ;
|
||||
;
|
||||
|
||||
ExternalLibs GPUphysics : GLUT ;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user