From: torsten Date: Thu, 20 Aug 2009 08:51:53 +0000 (+0000) Subject: warning fix (multiline comment) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=992a057a1b3e2059b5bb03d00d05f9197f816c5d;p=simgear.git warning fix (multiline comment) --- diff --git a/simgear/math/SGIntersect.hxx b/simgear/math/SGIntersect.hxx index aea3bb3e..533bd2dc 100644 --- a/simgear/math/SGIntersect.hxx +++ b/simgear/math/SGIntersect.hxx @@ -572,6 +572,7 @@ closestPoint(const SGTriangle& tri, const SGVec3& p) T u = b*e - c*d; T v = b*d - a*e; +/* // Regions // \2| // \| @@ -579,6 +580,7 @@ closestPoint(const SGTriangle& tri, const SGVec3& p) // 3 |0\ 1 //---------- // 4 | 5 \ 6 +*/ if (u + v <= det) { if (u < 0) { @@ -766,6 +768,7 @@ intersects(const SGTriangle& tri, const SGSphere& sphere) T u = b*e - c*d; T v = b*d - a*e; +/* // Regions // \2| // \| @@ -773,6 +776,7 @@ intersects(const SGTriangle& tri, const SGSphere& sphere) // 3 |0\ 1 //---------- // 4 | 5 \ 6 +*/ if (u + v <= det) { if (u < 0) {