Welcome![Sign In][Sign Up]
Location:
Search - Header File For The Glaux Library

Search list

[OpenGL programOPENGL-Glaux

Description: BC版的GLAUX库文件!很难找啊!我花了三天才找到的!希望对OPENGL爱好者有所帮助!-GLAUX BC version of the library! Hard to find ah! I spent three days to find! OpenGL lovers hope to help!
Platform: | Size: 175104 | Author: 00w | Hits:

[OpenGL programNeHeOpenGL

Description: NEHE教程所有源码,对学习OpenGL的初学者有很大的帮助。-#include <windows.h> // Header File For Windows #include <gl\gl.h> // Header File For The OpenGL32 Library #include <gl\glu.h> // Header File For The GLu32 Library #include <gl\glaux.h> // Header File For The Glaux Library HDC hDC=NULL // Private GDI Device Context HGLRC hRC=NULL // Permanent Rendering Context HWND hWnd=NULL // Holds Our Window Handle HINSTANCE hInstance // Holds The Instance Of The Application bool keys[256] // Array Used For The Keyboard Routine bool active=TRUE // Window Active Flag Set To TRUE By Default bool fullscreen=TRUE // Fullscreen Flag Set To Fullscreen Mode By Default LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM) // Declaration For WndProc GLvoid ReSizeGLScene(GLsizei width, GLsizei height) // Resize And Initialize The GL Window { if (height==0) // Prevent A Divide By Zero By { height=1 // Making Height Equal One } glViewport(0,0,width,height)
Platform: | Size: 11925504 | Author: 任龙 | Hits:

[OtherLesson2

Description: 绘制出一个白色的正方形和一个白色的三角形。-/* * This Code Was Created By Jeff Molofee 2000 * A HUGE Thanks To Fredric Echols For Cleaning Up * And Optimizing The Base Code, Making It More Flexible! * If You ve Found This Code Useful, Please Let Me Know. * Visit My Site At nehe.gamedev.net */ #include <windows.h> // Header File For Windows #include <gl\gl.h> // Header File For The OpenGL32 Library #include <gl\glu.h> // Header File For The GLu32 Library #include <gl\glaux.h> // Header File For The Glaux Library HDC hDC=NULL // Private GDI Device Context HGLRC hRC=NULL // Permanent Rendering Context HWND hWnd=NULL // Holds Our Window Handle HINSTANCE hInstance // Holds The Instance Of The Application bool keys[256] // Array Used For The Keyboard Routine bool active=TRUE // Window Active Flag Set To TRUE By Default bool fullscreen=TRUE // Fullscreen Flag Set To Fullscreen Mode By Default LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM) // Declarati
Platform: | Size: 5120 | Author: hexuqing | Hits:

[OpenGL program11

Description: 绘制一个小的正方形,用键盘的上下左右键控制其进行相应的运动。-/* * This Code Was Created By Jeff Molofee 2000 * A HUGE Thanks To Fredric Echols For Cleaning Up * And Optimizing The Base Code, Making It More Flexible! * If You ve Found This Code Useful, Please Let Me Know. * Visit My Site At nehe.gamedev.net */ #include <windows.h> // Header File For Windows #include <gl\gl.h> // Header File For The OpenGL32 Library #include <gl\glu.h> // Header File For The GLu32 Library #include <gl\glaux.h> // Header File For The Glaux Library HDC hDC=NULL // Private GDI Device Context HGLRC hRC=NULL // Permanent Rendering Context HWND hWnd=NULL // Holds Our Window Handle HINSTANCE hInstance // Holds The Instance Of The Application bool keys[256] // Array Used For The Keyboard Routine bool active=TRUE // Window Active Flag Set To TRUE By Default bool fullscreen=TRUE // Fullscreen Flag Set To Fullscreen Mode By Default GLfloat x=0.0f GLfloat y=0.0f LRESULT CALLBACK WndProc(HWND,
Platform: | Size: 5120 | Author: hexuqing | Hits:

CodeBus www.codebus.net