X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=scene.h;h=b3d5062a86801deedf382a8c03906d6940e1c7fc;hb=a64c18c5996fd5ac9601239f91b12275f04f9cd9;hp=51ce10315c38fdcb47fe84f49eaec103e8445266;hpb=47941822dae18a018c985847b052e70214a3ccc6;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/scene.h b/scene.h index 51ce103..b3d5062 100644 --- 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 );