From: david Date: Mon, 24 Dec 2001 18:56:15 +0000 (+0000) Subject: Renamed static function from sgdPointInTriangle to pointInTriangle to X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2db3a9a93c41d7c16c3e1393e05e841c7602c5a2;p=flightgear.git Renamed static function from sgdPointInTriangle to pointInTriangle to avoid conflict with most recent PLIB CVS. --- 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++; }