⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 application.h

📁 To review what a metaball is, and how to render them and to describe a new optimization I ve made
💻 H
字号:
//-----------------------------------------------------------------------------
// CApplication
//
// This is a framework class for quickly creating Direct3D applications. Derive
// a new application class from this and implement your code there.
//
// Copyright (c) 2001 Andreas J鰊sson
//-----------------------------------------------------------------------------
#ifndef APPLICATION_H
#define APPLICATION_H

#include "window.h"

class CApplication
{
public:
	CApplication();

	static CApplication *GetInstance();

	virtual HRESULT Initialize(HINSTANCE hInst, char *sCmdLine);
	virtual int     Run();

	void    Activate(bool bActivate);
	void    Resize(int nWidth, int nHeight);
	void    Pause(bool bPause);
	void    Render();

protected:
	static CApplication *m_pApplication;

	CWindow	   *m_pWindow;
	HINSTANCE   m_hInstance;
	bool        m_bActive;
};

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -