X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_routes.h;h=f8a566c825878b534d2cef5aceef0fde9b5c27bc;hb=4b8aac300ee193cfa12011dfe0238cfe7d7ffce7;hp=91456aa0afdbde6bb4f42937aceaab8399a06a79;hpb=7a2032debc2c3bff7e4f795f39fd0e798186b4c2;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_routes.h b/world_routes.h index 91456aa..f8a566c 100644 --- a/world_routes.h +++ b/world_routes.h @@ -196,7 +196,7 @@ VG_STATIC void world_routes_debug( world_instance *world ) } VG_STATIC void world_routes_place_curve( world_instance *world, - v4f h[4], v3f n0, v3f n2 ) + v4f h[3], v3f n0, v3f n2 ) { float t; v3f p, pd; @@ -422,7 +422,7 @@ VG_STATIC void world_routes_generate( world_instance *world ) } for( u32 i=0; ient_route_node); i++ ){ - ent_route_node *rn = mdl_arritm( &world->ent_route, i ); + ent_route_node *rn = mdl_arritm( &world->ent_route_node, i ); rn->ref_count = 0; rn->ref_total = 0; } @@ -612,8 +612,6 @@ VG_STATIC void render_world_routes( world_instance *world, camera *cam, mesh_bind( &world_global.mesh_gate ); /* skip writing into the motion vectors for this */ - /* TODO: draw future gate if the one we're looking through is to be passed, - * instead of current gate */ glDrawBuffers( 1, (GLenum[]){ GL_COLOR_ATTACHMENT0 } ); for( u32 i=0; ient_route); i++ ){