Linked picking to entities

This commit is contained in:
viktorljung
2015-12-07 17:26:42 +01:00
parent 9c589a0dc6
commit 9e1a4b83ae
4 changed files with 14 additions and 4 deletions
@@ -53,6 +53,9 @@ void RenderQueueFactory::FillModels(World* world, RenderQueue* renderQueue)
job.ModelMatrix = model->m_Matrix * ModelMatrix(world, modelC.EntityID);
job.Color = color;
//TODO: RENDERER: Not sure if the best solution for pickingColor to entity link is this
job.Entity = modelC.EntityID;
renderQueue->Add(job);
}
}