📄 testfornetwonogre.h
字号:
/*
-----------------------------------------------------------------------------
Filename: TestForNetwonOgre.h
-----------------------------------------------------------------------------
This source file is generated by the Ogre AppWizard.
Check out: http://conglomerate.berlios.de/wiki/doku.php?id=ogrewizards
Based on the Example Framework for OGRE
(Object-oriented Graphics Rendering Engine)
Copyright (c) 2000-2007 The OGRE Team
For the latest info, see http://www.ogre3d.org/
You may use this sample code for anything you like, it is not covered by the
LGPL like the rest of the OGRE engine.
-----------------------------------------------------------------------------
*/
#ifndef __TestForNetwonOgre_h_
#define __TestForNetwonOgre_h_
#include "BaseApplication.h"
#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
#include "../scripts/res/resource.h"
#endif
#include "OgreNewt.h"
class TestForNetwonOgreApp : public BaseApplication
{
public:
TestForNetwonOgreApp(void);
virtual ~TestForNetwonOgreApp(void);
void ForceCallBack(OgreNewt::Body* body);
bool quit(const CEGUI::EventArgs &e);
virtual bool frameStarted(const FrameEvent& evt);
protected:
virtual void createScene(void);
virtual void createFrameListener(void);
private:
OgreNewt::World* m_World;
Ogre::FrameListener* mNewtonListener;
BOOL mContinue;
OgreNewt::Body* MoveBody;
};
#endif // #ifndef __TestForNetwonOgre_h_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -