]> git.mxchange.org Git - flightgear.git/commitdiff
Renamed static function from sgdPointInTriangle to pointInTriangle to
authordavid <david>
Mon, 24 Dec 2001 18:56:15 +0000 (18:56 +0000)
committerdavid <david>
Mon, 24 Dec 2001 18:56:15 +0000 (18:56 +0000)
avoid conflict with most recent PLIB CVS.

src/Scenery/hitlist.cxx

index ca14e1965399d9e10678a651e952f71825d92f4f..3db38628c11e57ece13d94dce4fb2c1a7c33da52 100644 (file)
@@ -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++;
            }