wgl.h

来自「The goal of this project is to explore t」· C头文件 代码 · 共 31 行

H
31
字号
#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 + =
减小字号Ctrl + -
显示快捷键?