• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Initializing NSOpenGLViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Initializing NSOpenGLViews
      • From: Jeff Disher <email@hidden>
  • Prev by Date: New Rev MultiColumn Text Code Posted - With BUG!
  • Next by Date: mouseMoved and first responder madness
  • Previous by thread: New Rev MultiColumn Text Code Posted - With BUG!
  • Next by thread: Re: Initializing NSOpenGLViews
  • Index(es):
    • Date
    • Thread