Laser Sensing Display for UI interfaces in the real world
Fork of skinGames_forktest by
Diff: Scene.cpp
- Revision:
- 43:1dd4cfc30788
- Parent:
- 40:3ba2b0ea9f33
--- a/Scene.cpp Fri Oct 18 07:25:03 2013 +0000 +++ b/Scene.cpp Mon Oct 21 11:26:48 2013 +0000 @@ -124,6 +124,7 @@ for (int i=0; i<totalObjects(); i++) objectArray[i]->transform(_RT); } +// ATTENTION: deleting objects imply stoping the displaying engine, and updating. This is mandatory, not in the case of ADDING objects... void Scene::deleteObject(int _id) { // We could use an STL map, but here I will do the matching manually: for (int i=0; i<totalObjects(); i++)