📄 ogrepaginglandscapescenemanagerdll.cpp
字号:
/***************************************************************************
OgrePagingLandScapeSceneManagerDll.cpp - description
-------------------
begin : Mon May 12 2003
copyright : (C) 2003 by Jose A Milan
email : spoke2@supercable.es
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License as *
* published by the Free Software Foundation; either version 2 of the *
* License, or (at your option) any later version. *
* *
***************************************************************************/
#include "OgreRoot.h"
#include "OgreVector3.h"
#include "OgreColourValue.h"
#include "OgrePagingLandScapeOptions.h"
#include "OgrePagingLandScapeSceneManager.h"
namespace Ogre
{
PagingLandScapeSceneManager* PagingLandScapePlugin;
extern "C" void dllStartPlugin( void )
{
// Create new scene manager
PagingLandScapePlugin = new PagingLandScapeSceneManager();
// Register
Root::getSingleton().setSceneManager( ST_EXTERIOR_REAL_FAR, PagingLandScapePlugin );
}
extern "C" void dllStopPlugin( void )
{
delete PagingLandScapePlugin;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -