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:
@@ -22,8 +22,20 @@ Written by: Nicola Candussi <nicola@fluidinteractive.com>
|
||||
|
||||
//drawUtils.cpp
|
||||
|
||||
#ifdef WIN32//for glut.h
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
//think different
|
||||
#if defined(__APPLE__) && !defined (VMDMESA)
|
||||
#include <OpenGL/gl.h>
|
||||
#include <OpenGL/glu.h>
|
||||
#include <GLUT/glut.h>
|
||||
#else
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glu.h>
|
||||
#endif
|
||||
|
||||
|
||||
void wire_cube()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user