X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=scene.h;h=6d77e42fddd25bd540f25c4448b2364053bed25b;hb=d532493a0cb87ebcfc58a72ac5e8206301f9d770;hp=13de419f2542d4f300087babb87ebbe581df49d7;hpb=c77e15a8dc7b976371a473bc8794cb55601d82f6;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/scene.h b/scene.h index 13de419..6d77e42 100644 --- a/scene.h +++ b/scene.h @@ -142,8 +142,10 @@ VG_STATIC void scene_add_mdl_submesh( scene_context *ctx, mdl_context *mdl, v3_sub( src_verts[tri[1]].co, src_verts[tri[0]].co, ac ); v3_cross( ac, ab, tn ); +#if 0 if( v3_length2( tn ) <= 0.00001f ) continue; +#endif dst_indices[real_indices+0] = tri[0] + ctx->vertex_count; dst_indices[real_indices+1] = tri[1] + ctx->vertex_count;