Advertisement

GLfloat or float?

Started by March 13, 2003 06:26 AM
2 comments, last by Maxwan 21 years, 11 months ago
What is the difference between GLfloat and float, and GLvoid and void and so on. I haven''t seen a difference...
none that i know about.
Advertisement
none,.......

taken from gl.h:-

...
typedef short GLshort;
typedef int GLint;
...
typedef unsigned char GLubyte;
typedef unsigned short GLushort;
typedef unsigned int GLuint;
typedef float GLfloat;
...
typedef double GLdouble;
...
typedef void GLvoid;
--------<a href="http://www.icarusindie.com/rpc>Reverse Pop Culture
There is no difference because, those typedefs are used for porting code from say linux to windows. Int could be 16 bit instead of 32 bit... i dunno.

But that is what its used for. Porting... afaik

This topic is closed to new replies.

Advertisement