irrlicht/examples/07.Collision
Rogerborg bac02b5bb0 https://sourceforge.net/tracker2/?func=detail&aid=2473520&group_id=74339&atid=540676
Change ray/bounding box selection so that the nearest node is determined by the actual collision point with the bounding box (or the distance to the box centre if the ray starts inside the box).  Since this is a functional change from the old behaviour, I'm only committing to the trunk.  This will be slightly slower than the old method, but should return the correct node; I consider accuracy to take priority over efficiency for collision.

tests/sceneCollisionManager.cpp has been updated, as has examples/07.Collision/main.cpp.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2047 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-06 15:12:15 +00:00
..
Collision.cbp Merged from 1.5 branch to trunk, all changes from 1913 to 1932. Mostly example and test fixes. Some bug fixes, camera interface changes. 2008-12-08 17:06:34 +00:00
Collision.sln Moved everything to /trunk 2007-05-20 18:03:49 +00:00
Collision.vcproj Merged from 1.5 branch to trunk, all changes from 1933 to 1953. Camera and animation fixes, project file updates, etc. 2008-12-15 14:18:11 +00:00
Collision_vc8.vcproj Merged from 1.5 branch to trunk, all changes from 1933 to 1953. Camera and animation fixes, project file updates, etc. 2008-12-15 14:18:11 +00:00
Collision_vc9.vcproj Merged from 1.5 branch to trunk, all changes from 1933 to 1953. Camera and animation fixes, project file updates, etc. 2008-12-15 14:18:11 +00:00
Makefile Remove glu from Makefile. 2007-09-02 19:53:13 +00:00
example.dev Moved everything to /trunk 2007-05-20 18:03:49 +00:00
main.cpp https://sourceforge.net/tracker2/?func=detail&aid=2473520&group_id=74339&atid=540676 2009-01-06 15:12:15 +00:00
tutorial.html Fixed drop positions to avoid accessing already dropped pointers. No real problem in the examples, but better coding style. 2007-10-01 08:41:08 +00:00