removed some unused leftover functions, that should have been deleted during the recent refactoring

This commit is contained in:
Marc Zinnschlag 2010-06-12 13:47:02 +02:00
parent c515e9b67e
commit eca0f1c32d

View file

@ -43,26 +43,7 @@ namespace MWRender
/// finish inserting a new reference and return a handle to it.
virtual std::string insertEnd();
template<typename T>
void insertObj(const T& liveRef)
{
assert (liveRef.base != NULL);
const std::string &model = liveRef.base->model;
if(!model.empty())
insertMesh ("meshes\\" + model, liveRef.ref);
}
template<typename T>
void insertCellRefList (const T& cellRefList)
{
for(typename T::List::const_iterator it = cellRefList.list.begin();
it != cellRefList.list.end(); it++)
{
insertObj (*it);
}
}
public:
InteriorCellRender(const ESMS::CellStore &_cell, MWScene &_scene)