From 2ea4749161db6d8856407938911f1abfcf714b9d Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Mon, 14 May 2018 14:03:15 -0700 Subject: *: initial commit libix2 implements a simple spatial index of objects described by 2D axis-aligned bounding boxes (AABB). It does so by internally utilizing a traditional quadtree data structure. At this time only simple AABB and point search queries are supported, with a simple per-match callback interface. It may make sense to in the future add support for indexing other 2D shapes than AABBs, like circles. It would also make senes to add more interesting search queries like radial ranges and such. The intended use is for broad-phase collision detection in 2D games. --- src/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 src/Makefile.am (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..c2387f2 --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,2 @@ +noinst_LIBRARIES = libix2.a +libix2_a_SOURCES = list.h ix2.c ix2.h -- cgit v1.2.3