]> git.mxchange.org Git - flightgear.git/blobdiff - src/Objects/ssgEntityArray.hxx
Moved random ground cover object management code (userdata.[ch]xx) over
[flightgear.git] / src / Objects / ssgEntityArray.hxx
index f69832878fcf67e4d5ef50c417ec673e986328ae..22612a4bd20352b8cc12b2be2a270e43e4829938 100644 (file)
@@ -1,6 +1,10 @@
 #ifndef _SSG_ENTITY_ARRAY_HXX
 #define _SSG_ENTITY_ARRAY_HXX
 
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <plib/ssg.h>
 
 
@@ -50,7 +54,9 @@ public:
     virtual void hot           ( sgVec3     s, sgMat4 m, int test_needed ) ;
     virtual void los           ( sgVec3     s, sgMat4 m, int test_needed ) ;
     virtual void print         ( FILE *fd = stderr, char *indent = "", int how_much = 2 ) ;
+#ifdef HAVE_PLIB_PSL
     virtual void getStats ( int *num_branches, int *num_leaves, int *num_tris, int *num_vertices ) ;
+#endif
     virtual int load ( FILE *fd ) ;
     virtual int save ( FILE *fd ) ;
     virtual void recalcBSphere () ;