New collision code! Minor doc changes.
commit0c2010d162a458e4c86d78fa695bd6360a0fd65a
authorBrett Lajzer <brett@brettlajzer.com>
Sat, 18 Aug 2007 01:47:26 +0000 (17 21:47 -0400)
committerBrett Lajzer <brett@brettlajzer.com>
Sat, 18 Aug 2007 01:47:26 +0000 (17 21:47 -0400)
tree2ba890b4357a639e9fed4c599252a2f3209e48a0
parentc7413f183a8977cc7cd82cdf56d60d40104ee4ef
New collision code! Minor doc changes.

This release has new collision code based on oriented bounding boxes.
This makes it really easy to rotate objects without worrying about
having to refit the collision rectangles with every rotation.

The new code is in obb_collision.lua, the old in aabb_collision.lua.
The new code is included by default in init.lua.
21 files changed:
base/Object.lua
base/aabb_collision.lua [moved from base/collision.lua with 100% similarity]
base/init.lua
base/obb_collision.lua [new file with mode: 0644]
demos/collision_test/base [new symlink]
demos/collision_test/images/blue_rectangle.png [new file with mode: 0644]
demos/collision_test/images/red_rectangle.png [new file with mode: 0644]
demos/collision_test/scripts/code.lua [new file with mode: 0644]
demos/collision_test/scripts/config.lua [new file with mode: 0644]
demos/collision_test/scripts/main.lua [new file with mode: 0644]
doc/basic_tutorial.html
doc/basic_tutorial.txt
doc/class_eventmanager.html
doc/class_eventmanager.txt
doc/class_fpsmanager.html
doc/class_index.html
doc/class_object.html
doc/class_object.txt
doc/class_objectlist.html
doc/fun_ref.html
funcs_video.cpp