|
GLUTUsing GLUT in QC custom pluginHi,
is it possible to use GLUT library inside a custom QC plugin? I tried to do that in this way: #import <OpenGL/OpenGL.h> #import <OpenGL/gl.h> #import <OpenGL/glu.h> in my plugin.h now, if in the execute method I try to make a simple sphere with this simple code.. - (BOOL) execute:(id<QCPlugInContext>)context atTime:(NSTimeInterval)time withArguments:(NSDictionary*)arguments { [...] GLUquadricObj *quadratic; quadratic=gluNewQuadric(); gluQuadricNormals(quadratic, GLU_SMOOTH); gluQuadricTexture(quadratic, GL_TRUE); gluSphere(quadratic,10.3f,32,32); [...] } ..nothing happens. Where I am wrong? Thank you, Luke
|