1
0
Fork 0

Renamed static function from sgdPointInTriangle to pointInTriangle to

avoid conflict with most recent PLIB CVS.
This commit is contained in:
david 2001-12-24 18:56:15 +00:00
parent 5d8a04291c
commit 2db3a9a93c

View 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++;
}