Cocoa
Is there a way to not modify Main(), when using Opengl in cocoa, to do everything completely object Oriented?
Most Cocoa programs don't modify main. It usually simply calls NSApplicationMain.
There's a simple Cocoa OpenGL example on this site, and another on Apple's site. Why not download them and have a look at what they do?
From memory, GLCubes is the simple one hosted here.
There's a simple Cocoa OpenGL example on this site, and another on Apple's site. Why not download them and have a look at what they do?
From memory, GLCubes is the simple one hosted here.
check out - http://nehe.gamedev.net/
A number of the tutorials include cocoa ports that I think meet your needs.
Tutorial 19 for instance....
zza
A number of the tutorials include cocoa ports that I think meet your needs.
Tutorial 19 for instance....
zza
I don't have a website.
The examples I was referring to are hosted here on iDevGames. Click on "download finder" from the front page.
The examples I was referring to are hosted here on iDevGames. Click on "download finder" from the front page.

