summaryrefslogtreecommitdiffhomepage
path: root/src/chunk.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-02-25 00:08:57 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-02-25 00:08:57 +0100
commitda0e08d717d774c9f1b5fc3509e2f837d3b4701f (patch)
tree815c97f7d1ff1345f0acd39d3929a68f1fefbd3c /src/chunk.hpp
parentaba8a1a31d912d1a77b827fbd1c55dc3134f6327 (diff)
wip still broken
Diffstat (limited to 'src/chunk.hpp')
-rw-r--r--src/chunk.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chunk.hpp b/src/chunk.hpp
index 09af9bdb..2f257c38 100644
--- a/src/chunk.hpp
+++ b/src/chunk.hpp
@@ -90,8 +90,8 @@ struct chunk final
using BB = loose_quadtree::BoundingBox<std::int16_t>;
using BBE = loose_quadtree::TrivialBBExtractor<std::int16_t>;
- using lqt = loose_quadtree::LooseQuadtree<std::int16_t, BB, BBE>;
- using Query = collision_query<std::int16_t, BB, BBE>;
+ using lqt = loose_quadtree::LooseQuadtree<float, BB, BBE>;
+ using Query = collision_query<float, BB, BBE>;
Query query_collisions(Vector2s position, Vector2us size, collision type) const;
Query query_collisions(local_coords p, Vector2us size, Vector2s offset, collision type) const;