]> git.mxchange.org Git - flightgear.git/blobdiff - Tri2obj/tri2obj.h
Added zlib support.
[flightgear.git] / Tri2obj / tri2obj.h
index 6c2b14269b8d70bf440dc4ead70309d6163600fc..e53ae1d0d4a4cac0921a10278209cc9f8c0d6832 100644 (file)
 #include <string.h>
 
 
-#define MAX_NODES 100000
-#define MAX_TRIS  200000
-
-
-extern int nodecount, tricount;
-extern double nodes[MAX_NODES][3];
-extern int tris[MAX_TRIS][3];
-extern int new_tris[MAX_TRIS][3];
+#define MAX_NODES 200000
+#define MAX_TRIS  400000
 
 
 /* Initialize a new mesh structure */
-void triload(char *basename);
+void triload(char *basename, char *basepath);
 
 
 #endif /* TRI2OBJ_H */
 
 
 /* $Log$
-/* Revision 1.1  1997/10/29 23:05:15  curt
-/* Initial revision.
+/* Revision 1.5  1998/03/03 16:01:00  curt
+/* More c++ compile tweaks.
 /*
+ * Revision 1.4  1998/01/17 01:25:40  curt
+ * Added support for shared normals.
+ *
+ * Revision 1.3  1997/11/15 18:05:06  curt
+ * minor tweaks ...
+ *
+ * Revision 1.2  1997/11/14 00:29:13  curt
+ * Transform scenery coordinates at this point in pipeline when scenery is
+ * being translated to .obj format, not when it is being loaded into the end
+ * renderer.  Precalculate normals for each node as average of the normals
+ * of each containing polygon so Garoude shading is now supportable.
+ *
+ * Revision 1.1  1997/10/29 23:05:15  curt
+ * Initial revision.
+ *
  */