VISH
0.2
|
Information about the currently picked object. More...
#include </home/werner/origo/vish/ocean/Anemonia/VRenderContext.hpp>
Information about the currently picked object.
Semantically, this is a VRenderObject*, but we don't know if such an Object might have been possibly destroyed. Thus we store this info as a void* plus a name. Consequently this means, if an object has been destroyed and another one is re-created at exactly the same memory location with exactly the same name, then we treat it as picked if the former one was picked, too.
Note that the above is no longer true as we use WeakPtr's now!