home *** CD-ROM | disk | FTP | other *** search
/ Game Programming in C++ - Start to Finish / GameProgrammingS.iso / tools_install / gDEBugger-2_1_book.msi / gDEBuggerHelpFile.chm / images / sourcecodeviewer.gif < prev    next >
Graphics Interchange Format  |  2005-10-12  |  21.3 KB  |  636x640  |  8-bit (128 colors)
   ocr: R gDEBugger source code viewer - gelworkspacesigrteaponsrelgrleapolapplication.cpp -JDX File Edit View // // Name: : cpsetmaterial // Description: Sets the current OpenGL material to be an orange smooth me /7 void cpsethaterial0) float ambient [4] = (1.0f, 0.0f, 0.0f ,1.0f 1; JLiloat diffusel [4] = f 0.8f, 0.0f, 0.0f, 1.0f 1; GLfloat speculart4] = f 0.8f, 0.8f, 0.8f, 1.0f 1; gishadenodel(oL SMOOTH) : 3lHaterialiv(GL FRONT AND BACK, GL AMBIENT, ambient); : glMaterialfv(GL FRONT AND BACK, GL DIFFUSE, diffuse); - 3lMaterialiv(GL FRONT AND BACK, GL SPECULAR, specular)i gimaterialI(GL FRONT AND BAC ...