summaryrefslogtreecommitdiff
path: root/.gitmodules
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2018-12-14 00:22:11 -0800
committerVito Caputo <vcaputo@pengaru.com>2018-12-14 00:22:11 -0800
commit6ea78c53da8dcd42dd12d051c70d018e71760464 (patch)
tree0c6587d13bc2b24805fb437fe2c2f649736ef377 /.gitmodules
parent3213568475aff1d67da763153ab484377d5c1497 (diff)
libix3: support nested area searches
In 3D game engine use, it's convenient to be able to construct an ix3 for a model's mesh, in the model's local coordinate system. This model may then be instanced any number of times in the world via matrix transformations. When such instances are collidable objects and encounter eachother in the world, it becomes necessary to perform nested area searches on the same ix3. The existing code only allowed for a single area search on a given ix3 at a time. This code changes that to a limit supplied to ix3_new() as "max_asip" for "area searches in progress". In scenarios where only point searches will be performed, 0 may be supplied to save memory over the previous implementation. A value of 2 is satisfactory for my existing 3D game use cases, but any value is supported, it just takes more memory in the ix3_object_t struct.
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved