Notifications
Clear all

[Closed] Is it possible to count grids where vertices are found?

An example of what I would want is that I want to get the total amount of grids used in a single scene where verts are located and no matter how many models or in between verts there are. I want to get the numbers 8 and 5 in my listener. Is this even possible? Could someone lend a hand please.

1 Reply

something like that?


g = (objects.max - objects.min) / (getGridSpacing())
gg = [ceil g.x, ceil g.y, ceil g.z ]
ggg = [int g.x, int g.y, int g.z ]