mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 08:04:40 +00:00
Merge pull request #526 from DavidWyand-GG/Updates
Fix for RectF::intersectTriangle()
This commit is contained in:
commit
9af13248cf
1 changed files with 1 additions and 1 deletions
|
|
@ -405,7 +405,7 @@ inline bool RectF::intersectTriangle(const Point2F &a, const Point2F &b, const P
|
||||||
// 3 point plus 12 edge tests.
|
// 3 point plus 12 edge tests.
|
||||||
|
|
||||||
// Check each triangle point to see if it's in us.
|
// Check each triangle point to see if it's in us.
|
||||||
if(contains(a) || contains(b) || contains(b))
|
if(contains(a) || contains(b) || contains(c))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// Check a-b against the rect.
|
// Check a-b against the rect.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue