ColinGilbert / projectzombie

Automatically exported from code.google.com/p/projectzombie
0 stars 1 forks source link

Better correspondance between ZEntities and EntitiesBuffer. #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, we have the concept of ZEntity, which is a class which represent 
ZEntities in the system. Various system then use this as a base to create their 
own view of the ZEntity. The current system has only the bare minimums in terms 
of corresponding between the various systems. We need to make this better. For 
Render Entities, this is fine, because it is done through the Command and 
Control systems, and it operates directly on the ZEntities themselves (i.e. 
they have strong cohesion, object oriented cohesion.) However, for the 
correspondence between OpenCL buffers and ZEntities is not so clear. We have a 
function which converts ZEntities managed by EntitiesManager which converts the 
ZEntities into data buffers. It works right now. We may want to make this 
better by implementing a system which does this conversion better.  

Original issue reported on code.google.com by LLw...@gmail.com on 19 Aug 2010 at 12:06