TMap is so cool once you understand how to use it. I implemented it for any string-searching routines I have, as well as for an object linking routine.
I'm not sure how you would use this with 3D geometry. You could create a vector object from each entity's position and sort them based on their value on each axis, but I don't see how that is useful.
Let's say I had 1000 entities, each with a known center and dimensions. I want to retrieve all the entities within an arbitrary bounding box. How would I use TMap to do this?
I'm not sure how you would use this with 3D geometry. You could create a vector object from each entity's position and sort them based on their value on each axis, but I don't see how that is useful.
Let's say I had 1000 entities, each with a known center and dimensions. I want to retrieve all the entities within an arbitrary bounding box. How would I use TMap to do this?