rickytan / Cocoa-Style-OpenGL

Why there are so many fucking MACROs used in OpenGL? Totally no type, and hard to remember, also uneasy to use auto-complete in IDE. Why don't we just wrap them like Apple, say, typedef enum { kTypeType0, kTypeType1} Type, so that we can easily find out what to use ?

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cocoa-Style-OpenGL

Why there are so many fucking MACROs used in OpenGL? Totally no type, and hard to remember, also uneasy to use auto-complete in IDE. Why don't we just seal them like Apple, say, typedef enum { kTypeType0, kTypeType1} Type, so that we can easily find out what to use ?

About

Why there are so many fucking MACROs used in OpenGL? Totally no type, and hard to remember, also uneasy to use auto-complete in IDE. Why don't we just wrap them like Apple, say, typedef enum { kTypeType0, kTypeType1} Type, so that we can easily find out what to use ?


Languages

Language:C 83.1%Language:C++ 15.7%Language:Objective-C 1.2%