]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
renamed Q3FACETYPE_POLYGON to Q3FACETYPE_FLAT
[xonotic/darkplaces.git] / model_brush.h
index 8eaeddd36c13eeebe2551831e2d14af8a3a1d55d..a0a92687fb5da962b2e71c5b86ed1472f2417bef 100644 (file)
@@ -508,7 +508,7 @@ typedef struct q3deffect_s
 }
 q3deffect_t;
 
-#define Q3FACETYPE_POLYGON 1 // common
+#define Q3FACETYPE_FLAT 1 // common
 #define Q3FACETYPE_PATCH 2 // common
 #define Q3FACETYPE_MESH 3 // common
 #define Q3FACETYPE_FLARE 4 // rare (is this ever used?)
@@ -535,14 +535,14 @@ typedef struct q3dface_s
                unknown;
                struct
                {
-                       // Q3FACETYPE_POLYGON
-                       // polygon is simply a convex polygon, renderable as a mesh
+                       // Q3FACETYPE_FLAT
+                       // mesh is a collection of triangles on a plane, renderable as a mesh (NOT a polygon)
                        float lightmap_origin[3];
                        float lightmap_vectors[2][3];
                        float normal[3];
                        int unused1[2];
                }
-               polygon;
+               flat;
                struct
                {
                        // Q3FACETYPE_PATCH