//------------------------------------------------------------------------ // Purpose : Push the Static Geometry into Manager from Text File //------------------------------------------------------------------------ void StaticGeometryManager::AddToStaticGeometryList(const std::string& fileName, const Helper::StaticGeomData& data) { StaticGeometry* tempGeom = new StaticGeometry(); if (tempGeom != NULL) { if(tempGeom->Initialize(data)) m_GeomList.insert(std::make_pair(tempGeom, fileName)); } }
//------------------------------------------------------------------------ // Purpose : Push the Static Geometry into Manager //------------------------------------------------------------------------ void StaticGeometryManager::AddToStaticGeometryList(const std::string& fileName, const std::string& meshName) { StaticGeometry* tempGeom = new StaticGeometry(); if (tempGeom != NULL) { tempGeom->Initialize(fileName); m_GeomList.insert(std::make_pair(tempGeom, meshName)); } }