91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 7.46KB
    文件類型: .cpp
    金幣: 1
    下載: 0 次
    發布日期: 2021-02-22
  • 語言: C/C++
  • 標簽: OpenGL??

資源簡介

opengl編程開發基礎實例,便于參考。編程語言采用C/C 開發。

資源截圖

代碼片段和文件信息

#include?“stdafx.h“
#include?“tool.h“
#include?

#include?“CGfxOpenGL.h“

#define?MAX_LOADSTRING?100

#define?ALWAYS_ROUND?1

void?setupPixelFormat(HDC);

//?全局變量:?
HINSTANCE?hInst; //?當前實例
TCHAR?sztitle[MAX_LOADSTRING]; //?標題欄文本
TCHAR?szWindowClass[MAX_LOADSTRING]; //?主窗口類名

//?此代碼模塊中包含的函數的前向聲明:?
ATOM MyRegisterClass(HINSTANCE?hInstance);
BOOL InitInstance(HINSTANCE?int);
LRESULT?CALLBACK WndProc(HWND?UINT?WPARAM?LPARAM);
INT_PTR?CALLBACK About(HWND?UINT?WPARAM?LPARAM);

HDC?g_HDC;
HWND?g_HWND;
float?angle?=?0.0;
bool?exiting?=?false;
long?windowWidth?=?1920;
long?windowHeight?=?1080;



CGfxOpenGL?*g_glRender?=?NULL;

int?APIENTRY?_tWinMain(_In_?HINSTANCE?hInstance
?????????????????????_In_opt_?HINSTANCE?hPrevInstance
?????????????????????_In_?LPTSTR????lpCmdLine
?????????????????????_In_?int???????nCmdShow)
{
UNREFERENCED_PARAMETER(hPrevInstance);
UNREFERENCED_PARAMETER(lpCmdLine);

? //?TODO:??在此放置代

評論

共有 條評論