How can I 'break away' from Cocoa and develop Mac OpenGL applications in C/C++?

前端 未结 3 675
执笔经年
执笔经年 2021-02-09 15:23

I am looking to get started with some 3D programming in C or C++. The problem I have is that it seems like the only tutorials I can find for Mac OS use objective C and Cocoa fra

3条回答
  •  忘了有多久
    2021-02-09 16:03

    I have created a software layer (named cocoglut) that allows the translatation of basic or essential GLUT calls to COCOA. This library allows creating/destroying windows and register callbacks from a C/C++ application, just by using GLUT calls, without the need for nib files or for XCode project files (and can be compiled from the command line). This option uses full retina display resolution. The source is on GitHub.

提交回复
热议问题