]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
no longer recalculated q3bsp surface normals, this makes q3map2 'phong shading' featu...
[xonotic/darkplaces.git] / model_shared.h
index 946199371b1ba1ce0854978e9e49b0555591dde1..bde7bf84401ec9e1b4f7f6d7dbea9e9fd16d23ec 100644 (file)
@@ -447,9 +447,10 @@ typedef struct model_brushq3_s
        int num_models;
        q3dmodel_t *data_models;
 
-       // freed after loading!
+       // used only during loading - freed after loading!
        int num_vertices;
        float *data_vertex3f;
+       float *data_normal3f;
        float *data_texcoordtexture2f;
        float *data_texcoordlightmap2f;
        float *data_color4f;