2 Star 1 Fork 4

cloud / OgreImport

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
OgreTools.h 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
chaomengnan 提交于 2014-10-22 05:16 . import ogreimport source code
#pragma once
#include <Ogre.h>
#include "XkSkeletonSerializerEx.h"
#include "XkSkeletonManagerEx.h"
#include <OgreDefaultHardwareBufferManager.h>
#include <max.h>
class OgreTools
{
private:
OgreTools() {}
public:
static bool create();
static void destroy();
static bool importMesh(const char* szFileName, ImpInterface* i, Interface* gi);
static bool importSkeleton(const char* szFileName, ImpInterface* i, Interface* gi);
static bool writeBone(Ogre::Bone* pBone, ImpInterface* i, Interface* gi);
static Point3 convertPoint3(const Ogre::Vector3& vecPos);
static Quat convertQuat(const Ogre::Quaternion& q);
private:
static Ogre::LogManager* logMgr;
static Ogre::Math* mth;
static Ogre::LodStrategyManager* lodMgr;
static Ogre::MaterialManager* matMgr;
static Xk::SkeletonManagerEx* skelMgr;
static Ogre::MeshSerializer* meshSerializer;
static Xk::SkeletonSerializerEx* skeletonSerializer;
static Ogre::DefaultHardwareBufferManager* bufferMgr;
static Ogre::MeshManager* meshMgr;
static Ogre::ResourceGroupManager* resGroupMgr;
};
C++
1
https://gitee.com/cloudsource/OgreImport.git
git@gitee.com:cloudsource/OgreImport.git
cloudsource
OgreImport
OgreImport
master

搜索帮助