added RenderQueue

This commit is contained in:
cirdan
2008-01-17 16:42:24 +00:00
parent 8f17a3a819
commit 7a3d5f6eb5
17 changed files with 578 additions and 347 deletions

View File

@ -17,7 +17,7 @@ namespace BlueCore
{
//------------------------------------------------------------------------------
void Model::render()
void Model::render(RenderDevice *device) const
{
ModelMesh->render();
//glEnable(GL_LIGHTING);
@ -208,7 +208,7 @@ Model *ModelManager::loadModel(const string &name)
if (result != _Models.end() )
{
return result->second.get();
return result->second.pointer();
}
string filename = name + ".model.xml";