GLfloat or float?
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.
www.flashbang.se | www.thegeekstate.com | nehe.gamedev.net | glAux fix for lesson 6 | [twitter]thegeekstate[/twitter]
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;
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
March 13, 2003 08:43 AM
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
But that is what its used for. Porting... afaik
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement