make MayaPlugin work under Mac OSX (intel/x86), build/install:

make -f Makefile.mac
make install -f Makefile.mac

It assumes Maya is installed in the default location, and plugin will install in default /Users/Shared/Autodesk/maya folder.
This commit is contained in:
erwin.coumans
2008-09-19 00:47:56 +00:00
parent bf5eafb759
commit ff46ceb519
3 changed files with 102 additions and 0 deletions

View File

@@ -25,7 +25,18 @@ Written by: Nicola Candussi <nicola@fluidinteractive.com>
#ifndef DYN_BT_SPHERE_SHAPE_H
#define DYN_BT_SPHERE_SHAPE_H
#ifdef WIN32//for glut.h
#include <windows.h>
#endif
//think different
#if defined(__APPLE__) && !defined (VMDMESA)
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#else
#include <GL/gl.h>
#endif
#include "sphere_shape_impl.h"
#include "bt_collision_shape.h"