摘要:
地形贴花,CreateMeshDecal()只创建一次,之后每次调用SetMeshDecal()。/*** @Function: CreateMeshDecal* @Description: 创建模型贴花Mesh,此Mesh只被创建一次*/void CMap::CreateMeshDecal(void){ m_pMeshDecal = new Ogre::ManualObject("MeshDecal"); m_pSceneManager->getRootSceneNode()->attachObject(m_pMeshDecal); // 挂在根节点 int 阅读全文