main.h
来自「it is a visual c++ file」· C头文件 代码 · 共 44 行
H
44 行
//////////////////////////////////////////////////////////////////////////////////////////
// Main.h
// Shadow Volumes
// Downloaded from: www.paulsprojects.net
// Created: 4th September 2002
//
// Copyright (c) 2006, Paul Baker
// Distributed under the New BSD Licence. (See accompanying file License.txt or copy at
// http://www.paulsprojects.net/NewBSDLicense.txt)
//////////////////////////////////////////////////////////////////////////////////////////
#ifndef MAIN_H
#define MAIN_H
class LIGHT
{
public:
VECTOR3D position;
COLOR color;
};
class TORUS
{
public:
VECTOR3D position;
float angle;
COLOR color;
VECTOR3D objectSpaceLightPosition;
};
bool DemoInit();
bool GLInit();
void UpdateFrame();
void RenderFrame();
void DemoShutdown();
int WINAPI WinMain(HINSTANCE hInstance,
HINSTANCE hPervInstance,
LPSTR lpCmdLine,
int nCmdShow); //main entry point
#endif //MAIN_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?