yabadabadooo
[carveJwlIkooP6JGAAIwe30JlM.git] / scene.h
diff --git a/scene.h b/scene.h
index 51ce10315c38fdcb47fe84f49eaec103e8445266..b3d5062a86801deedf382a8c03906d6940e1c7fc 100644 (file)
--- a/scene.h
+++ b/scene.h
@@ -36,8 +36,7 @@ VG_STATIC scene *scene_init( void *lin_alloc, u32 max_verts, u32 max_indices )
    pscene->max_vertices = max_verts;
    pscene->max_indices  = max_indices;
 
-   pscene->submesh.indice_start = 0;
-   pscene->submesh.indice_count = 0;
+   memset( &pscene->submesh, 0, sizeof(mdl_submesh) );
 
    v3_fill( pscene->bbx[0],  999999.9f );
    v3_fill( pscene->bbx[1], -999999.9f );