]> git.mxchange.org Git - flightgear.git/blobdiff - src/Objects/obj.hxx
Fixed runway-altitude problem that prevented starts at airports higher
[flightgear.git] / src / Objects / obj.hxx
index fe87427e71f21c5d07daa7f848d5fb92b1bd90af..05a7180d7afc78f3180197b4646519de4e49abeb 100644 (file)
@@ -46,6 +46,8 @@
 
 #include <plib/ssg.h>          // plib include
 
+#include <simgear/math/sg_types.hxx>
+
 #include <Scenery/tileentry.hxx>
 
 SG_USING_STD(string);
@@ -67,4 +69,14 @@ ssgBranch *fgAsciiObjLoad(const string& path, FGTileEntry *tile,
 ssgBranch *fgGenTile( const string& path, FGTileEntry *t);
 
 
+// Create an ssg leaf
+ssgLeaf *gen_leaf( const string& path,
+                  const GLenum ty, const string& material,
+                  const point_list& nodes, const point_list& normals,
+                  const point_list& texcoords,
+                  const int_list node_index,
+                  const int_list& tex_index,
+                  const bool calc_lights, ssgVertexArray *lights );
+
+
 #endif // _OBJ_HXX