BambooIsland: C:/Users/easterbunny/Desktop/Echtzeitgraphik-LU/trunk/src/prevent_old_opengl.h Source File

BambooIsland Abgabe 2

- Main Page
- Related Pages
- Classes
- Files

- File List

# C:/Users/easterbunny/Desktop/Echtzeitgraphik-LU/trunk/src/prevent_old_opengl.h

    00001 /*
    00002  To prevent using of old gl-commands, some #defines lead to compiler errors if these functions are used
    00003  */
    00004
    00005
    00006 #ifndef __HEADER_PREVENT_OLD_FUNCTIONS
    00007 #define __HEADER_PREVENT_OLD_FUNCTIONS
    00008
    00009 #define glLoadIdentity glLoadIdentity_NOT_ALLOWED
    00010 #define glLoadMatrix glLoadMatrix_NOT_ALLOWED
    00011 #define glMatrixMode glMatrixMode_NOT_ALLOWED
    00012 #define glMultMatrix glMultMatrix_NOT_ALLOWED
    00013
    00014 #define glTranslate glTranslate_NOT_ALLOWED
    00015 #define glRotate glRotate_NOT_ALLOWED
    00016 #define glScale glScale_NOT_ALLOWED
    00017
    00018 #define glBegin glBegin_NOT_ALLOWED
    00019 #define glEnd glEnd_NOT_ALLOWED
    00020 #define glVertex3 glVertex3_NOT_ALLOWED
    00021 #define glColor3 glColor3_NOT_ALLOWED
    00022
    00023 #define glVertexPointer glVertexPointer_NOT_ALLOWED
    00024 #define glNormalPointer glNormalPointer_NOT_ALLOWED
    00025
    00026 #define glCallList glCallList_NOT_ALLOWED
    00027
    00028 #endif

All Classes Functions Variables Enumerations Enumerator