libera/#shirakumo - IRC Chatlog
Search
22:15:59
Colleen
<|3b|> ACTION probably doesn't have any useful ideas for data structure, but isn't really sure what you are asking for anyway...
22:16:45
Colleen
<|3b|> if you have a regular grid of points, do you want it to return either a group per point or 1 group for whole thing depending on distance?
22:28:06
Colleen
<|3b|> in the paste, that RADIUS looks more like a diameter (if that matters), and i'd probably initialize Z to 0 when copying from vec2 in ensure-region
6:49:42
Colleen
<shinmera> |3b|: As for the structure, I want to get an answer to the question "which groups of objects may be involved in a collision with each other?" which we can approximate with the question "what groups of objects are there where each object within a group is within a distance of at least one other object within the group"
7:48:10
Colleen
<|3b|> ok, so regular grid would be either 1 group per item, or 1 group containing all. i think i read original question differently from what you intended, which is why i was confused