CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - Header File For The Glaux Library
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - Header File For The Glaux Library - List
[
OpenGL program
]
OPENGL-Glaux
DL : 1
BC版的GLAUX库文件!很难找啊!我花了三天才找到的!希望对OPENGL爱好者有所帮助!-GLAUX BC version of the library! Hard to find ah! I spent three days to find! OpenGL lovers hope to help!
Update
: 2025-02-17
Size
: 171kb
Publisher
:
00w
[
OpenGL program
]
NeHeOpenGL
DL : 0
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)
Update
: 2025-02-17
Size
: 11.37mb
Publisher
:
任龙
[
Other
]
Lesson2
DL : 0
绘制出一个白色的正方形和一个白色的三角形。-/* * 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
Update
: 2025-02-17
Size
: 5kb
Publisher
:
hexuqing
[
OpenGL program
]
11
DL : 0
绘制一个小的正方形,用键盘的上下左右键控制其进行相应的运动。-/* * 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,
Update
: 2025-02-17
Size
: 5kb
Publisher
:
hexuqing
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.