2025-08-09 14:30 CEST

spring: develop 95b7339d Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
Eshed Eshed develop 2016-01-05 17:04:57 develop 2999f039
Changeset Add support for ellipsoid colvols

Uses Newton's method for approximation of distance from
point.

See http://wwwf.imperial.ac.uk/~rn/distance2ellipse.pdf
for details.

Added a test that gives information about the accuracy
of said approximation (unfortunately couldn't reuse the
code since I need to gather data during the iterations.

It's very accurate and should be fast enough.
mod - rts/Rendering/DebugColVolDrawer.cpp Diff ] File ]
mod - rts/Sim/Misc/CollisionHandler.cpp Diff ] File ]
mod - rts/Sim/Misc/CollisionVolume.cpp Diff ] File ]
mod - rts/Sim/Misc/CollisionVolume.h Diff ] File ]
mod - test/CMakeLists.txt Diff ] File ]
add - test/engine/Sim/Misc/testEllipsoid.cpp Diff ] File ]