📄 wgl.h
字号:
#if !defined(BRL_WGL_H)
#define BRL_WGL_H
/*+-------------------------------------------------------------------
Ben Landon
CSCI E-235
Final Project
Interface to OpenGL initialization and termination
on the Win32 platform.
*/
#include <windows.h>
#if defined(__cplusplus)
extern "C" {
#endif
HGLRC setup_opengl (HWND hwnd);
void cleanup_opengl (HGLRC hglrc);
void set_viewport (unsigned int width,
unsigned int height,
float scene_aspect_ratio);
#if defined(__cplusplus)
}
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -