• cutealien's avatar
    Fix tests triangle3d: · 94968c4a
    cutealien authored
    - triangle3d::isPointInsideFast now using some epsilon to catch all points on the borders.
    - triangle3d::getIntersectionOfPlaneWithLine calculates now with higher precision for more exact results.
    - triangle3d::isOnSameSide (used by isPointInside) calculates now with higher precision and uses some epsilon to make it work with larger integers and less floating point troubles. Slightly slower now.
    
    
    git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4183 dfc29bdd-3216-0410-991c-e03cc46cb475
    94968c4a
triangle3d.cpp 9.73 KB