Ok...
I'm reading Open GL Programming Guide...
this is going to sound stupid now... but... how do I do Example 1-2? What I've done so far...
started with the Cocoa application template in XCode (is that the wrong template?) and then added the OpenGL and GLUT frameworks. At this point... I've got no idea what to do. It doesn't seem to be written in Objective-C which is what I've gotten used too... instead it appears to all be C which I haven't used for a while (and was told that I should never have to use again since Objective-C/Cocoa provide higher level commands that can do it all.) What do I do with the XIB (known as NIBs in previous versions of Mac OS X?) Should I just stick all the code in a new object? Should the object be based off an NSObject or an NSView or what?
Sorry that I'm so confused... hopefully once I cover this gap of going from the examples in the book to working examples in Cocoa (or whatever API I end up having to use,) once I won't have to do it again for the rest of the book...
I'm reading Open GL Programming Guide...
this is going to sound stupid now... but... how do I do Example 1-2? What I've done so far...
started with the Cocoa application template in XCode (is that the wrong template?) and then added the OpenGL and GLUT frameworks. At this point... I've got no idea what to do. It doesn't seem to be written in Objective-C which is what I've gotten used too... instead it appears to all be C which I haven't used for a while (and was told that I should never have to use again since Objective-C/Cocoa provide higher level commands that can do it all.) What do I do with the XIB (known as NIBs in previous versions of Mac OS X?) Should I just stick all the code in a new object? Should the object be based off an NSObject or an NSView or what?
Sorry that I'm so confused... hopefully once I cover this gap of going from the examples in the book to working examples in Cocoa (or whatever API I end up having to use,) once I won't have to do it again for the rest of the book...