X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_sfd.h;fp=world_sfd.h;h=d7aeb552fb55b585131a33ec3327007b09f63f2a;hb=3e8fda9c7cbc50d1ae95195905c953bdeedf71b9;hp=9f41992bc84de7d43e42634797bd9d22038cc7a1;hpb=e939ba5c4c1658ad057cf28d63828ee1d7ee1ef6;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_sfd.h b/world_sfd.h index 9f41992..d7aeb55 100644 --- a/world_sfd.h +++ b/world_sfd.h @@ -184,11 +184,13 @@ VG_STATIC void world_sfd_init(void) m4x3f identity; m4x3_identity( identity ); + /* FIXME: dont use scene header for this you fucking idiots */ for( int i=4;i<6;i++ ) { u32 vert_start = sc->vertex_count; - scene_add_submesh( sc, mboard, card, identity ); + scene_add_mdl_submesh( sc, mboard, card, identity ); +#if 0 for( int j=0; jvertex_count; j++ ) { mdl_vert *vert = &sc->arrvertices[ vert_start+j ]; @@ -198,6 +200,7 @@ VG_STATIC void world_sfd_init(void) vert->colour[0] = 0.0f; vert->colour[1] = i*36; } +#endif } vg_acquire_thread_sync();