warrence
d92487ffc7
Use primary constructor for Rectangle
2025-09-27 23:33:34 +02:00
warrence
6f86e3576a
Use primary constructor for QuadtreeItem
2025-09-27 23:33:18 +02:00
warrence
f6e5a34278
Simplify collection initialization
2025-09-27 23:32:48 +02:00
warrence
09ac8d0433
Use Assert.That(<collection>, Has.Count.EqualTo(...));
2025-09-27 23:30:13 +02:00
warrence
092230b435
Simplify test setup and use new "entity" naming
2025-09-27 23:27:37 +02:00
warrence
85fcd2358f
Remove entity boundaries from Quadtree
...
The Quadtree did no meaningful management of entity boundaries. All it did was store the maximum and inflate the query rectangle accordingly. The caller can easily take over this responsibility. Consequently, this simplifies queries.
2025-09-27 23:23:38 +02:00
warrence
157fea7761
Fix Rectangle docs
2025-09-27 23:20:48 +02:00
warrence
83141aeb14
Remove dependency on IWorldObject by introducing callbacks, and change terminology from "world object" to "(world) entity"
2025-09-27 21:37:58 +02:00
warrence
3bea3f5a9b
Rename class BoundingBox2 to Rectangle
2025-09-25 19:11:18 +02:00
warrence
263e215f41
Add some basic unit tests
2025-08-27 19:38:43 +02:00
warrence
eee2cd5be4
Add Quadtree.Count
2025-08-27 19:38:05 +02:00
warrence
a52b19bfa4
Move project to sub-directory, add empty test project, and fix namespace
2025-08-27 18:40:29 +02:00
warrence
504ec41ebc
Add BoundingBox2.Include() from Quadtree.IncludeInBoundingBox()
2025-08-27 17:59:56 +02:00
warrence
e84746fab0
Fix some IntelliSense messages
2025-08-27 17:57:30 +02:00
warrence
235178be3d
Rename file BoundingBox to BoundingBox2 and remove dedicated namespace for it
2025-08-27 17:57:04 +02:00
warrence
07dc369c2c
Add BoundingBox2 implementation
2025-08-27 17:47:08 +02:00
warrence
0aad311a32
Fix inconsistent private member naming style
2025-08-27 17:28:17 +02:00
warrence
6523d469cc
Change local stack to be member field for reuse, and add documentation for both private stacks
2025-08-27 17:26:28 +02:00
warrence
510ee1e705
Update comments and todos
2025-08-27 17:19:08 +02:00
warrence
be8682e902
Add quadtree files, missing implementation of BoundingBox2
2025-08-22 20:17:30 +02:00
warrence
697170e6dd
Initial commit
2025-08-22 14:40:03 +02:00