Initializing NSOpenGLViews
Initializing NSOpenGLViews
- Subject: Initializing NSOpenGLViews
- From: Hussein Yahia <email@hidden>
- Date: Tue, 10 Dec 2002 22:49:07 +0100
Hello,
I'm initializing an NSOpenGLView by creating a context in
initWithCoder. No problem so far, but if I set up the observer's
position there (with gluLookAt and gluPerspective), very hazardous
things happen. On another hand, if I set up the observer in drawRect,
no problem. Why is it so ? I wouldn't want to initialize the observer
everytime I call drawRect.
Any idea ?
hussein
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.