- // lightmaptexture rebuild information not used in q3bsp
- msurface_lightmapinfo_t *lightmapinfo; // q1bsp
- // fog volume info in q3bsp
- struct q3deffect_s *effect; // q3bsp
- // mesh information for collisions (only used by q3bsp curves)
- int num_firstcollisiontriangle;
-
- // surfaces own ranges of vertices and triangles in the model->surfmesh
- int num_triangles; // number of triangles
- int num_firsttriangle; // first triangle
- int num_vertices; // number of vertices
- int num_firstvertex; // first vertex
-
- // mesh information for collisions (only used by q3bsp curves)
- int num_collisiontriangles; // q3bsp
- int num_collisionvertices; // q3bsp
+
+ // the following fields are used situationally and are not part of rendering in typical usage
+
+ /// bounding box for onscreen checks
+ vec3_t mins;
+ vec3_t maxs;
+
+ /// lightmaptexture rebuild information not used in q3bsp
+ msurface_lightmapinfo_t* lightmapinfo; // q1bsp
+ /// fog volume info in q3bsp
+ struct q3deffect_s* effect; // q3bsp
+
+ /// mesh information for collisions (only used by q3bsp curves)
+ int num_firstcollisiontriangle; // q3bsp only
+ int num_collisiontriangles; // number of triangles (if surface has collisions enabled)
+ int num_collisionvertices; // number of vertices referenced by collision triangles (if surface has collisions enabled)