marijnz / NativeQuadtree

A Quadtree Native Collection for Unity DOTS
MIT License
358 stars 30 forks source link

Possible typo in NativeQuadTree.cs #1

Closed Lhawika closed 4 years ago

Lhawika commented 4 years ago

Hi, in NativeQuadTree.cs:81, the line is "const int totalSize = 1+22+44+88+16+16+3232+6464+128128+256256+512512;" I think it should probably be "const int totalSize = 1+22+44+88+1616+3232+6464+128128+256256+512*512;"

where 16+16 becomes 16*16. Maybe I'm wrong and there's a reason for that, but it looked like a typo.

marijnz commented 4 years ago

Well spotted, thank you!

marijnz commented 4 years ago

I already fixed this some time ago, closing this issue :)