forked from mirror/openmw-tes3mp
removed some unused leftover functions, that should have been deleted during the recent refactoring
This commit is contained in:
parent
c515e9b67e
commit
eca0f1c32d
1 changed files with 1 additions and 20 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue