]> icculus.org git repositories - divverent/darkplaces.git/commit
worked around curve collision problems by doing special sort-of-axial edge planes...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 9 Mar 2004 20:35:51 +0000 (20:35 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 9 Mar 2004 20:35:51 +0000 (20:35 +0000)
commite4a30ef1b35f080b970c442945cd28e962a5e6c1
tree4a878409ffc94ac9fc796f35ec935006000f1061
parent46e99101734cfd6e80142188ac44cf548a978603
worked around curve collision problems by doing special sort-of-axial edge planes on triangle collisions (ultimately the collision routine needs to do edge/edge collisions somehow to make this unnecessary)
now snaps triangle mesh vertices to 1/32 of a unit precision to keep the plane calculations a little more accurate (note: this is done at collision time), although this doesn't seem to be necessary
collision nudge values are now configurable via cvars (collision_ cvars, warning: things tend to break if startnudge != endnudge, and enternudge should be the same as leavenudge)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3985 d7cf8633-e32d-0410-b094-e92efae38249
collision.c