From 2db3a9a93c41d7c16c3e1393e05e841c7602c5a2 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 24 Dec 2001 18:56:15 +0000 Subject: [PATCH] Renamed static function from sgdPointInTriangle to pointInTriangle to avoid conflict with most recent PLIB CVS. --- src/Scenery/hitlist.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Scenery/hitlist.cxx b/src/Scenery/hitlist.cxx index ca14e1965..3db38628c 100644 --- a/src/Scenery/hitlist.cxx +++ b/src/Scenery/hitlist.cxx @@ -30,7 +30,7 @@ extern ssgBranch *terrain; // check to see if the intersection point is // actually inside this face -static bool sgdPointInTriangle( sgdVec3 point, sgdVec3 tri[3] ) +static bool pointInTriangle( sgdVec3 point, sgdVec3 tri[3] ) { double xmin, xmax, ymin, ymax, zmin, zmax; @@ -211,7 +211,7 @@ int FGHitList::IntersectLeaf( ssgLeaf *leaf, sgdMat4 m, sgdVec3 point; if( sgdIsectInfLinePlane( point, orig, dir, plane ) ) { - if( sgdPointInTriangle( point, tri ) ) { + if( pointInTriangle( point, tri ) ) { add(leaf,i,point,plane); num_hits++; } -- 2.39.5