// test if line intesects with this fragment. p0 and p1 are the two
// line end points of the line. If side_flag is true, check to see
// that end points are on opposite sides of face. Returns 1 if it
-// does, 0 otherwise. If it intesects, result is the point of
-// intersection
+// intersection found, 0 otherwise. If it intesects, result is the
+// point of intersection
int fgFRAGMENT::intersect( fgPoint3d *end0, fgPoint3d *end1, int side_flag,
fgPoint3d *result)
list < fgFACE > :: iterator last;
// find the associated tile
- t = (fgTILE *)tile_ptr;
+ t = tile_ptr;
// printf("Intersecting\n");
// $Log$
+// Revision 1.8 1998/08/22 14:49:58 curt
+// Attempting to iron out seg faults and crashes.
+// Did some shuffling to fix a initialization order problem between view
+// position, scenery elevation.
+//
+// Revision 1.7 1998/08/20 15:12:05 curt
+// Used a forward declaration of classes fgTILE and fgMATERIAL to eliminate
+// the need for "void" pointers and casts.
+// Quick hack to count the number of scenery polygons that are being drawn.
+//
// Revision 1.6 1998/08/12 21:13:05 curt
// material.cxx: don't load textures if they are disabled
// obj.cxx: optimizations from Norman Vine