From 992a057a1b3e2059b5bb03d00d05f9197f816c5d Mon Sep 17 00:00:00 2001 From: torsten Date: Thu, 20 Aug 2009 08:51:53 +0000 Subject: [PATCH] warning fix (multiline comment) --- simgear/math/SGIntersect.hxx | 4 ++++ 1 file changed, 4 insertions(+) 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) { -- 2.39.5