22:28:06|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
22:31:48|3b|and should REGION be coercing X,Y,Z to floats?
6:48:04shinmera|3b|: it's not a diameter, because bsize is half-size.
6:49:42shinmera|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|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