minor tweaks

This commit is contained in:
Garux
2025-09-17 14:49:19 +05:00
parent ce6ff2d0ba
commit 7ddab0634b
9 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -404,8 +404,8 @@ void PatchMapDrawSurfs( entity_t& e ){
meshes[m1].bordering[m2] =
meshes[m2].bordering[m1] =
std::any_of( mesh1.verts, mesh1.verts + mesh1.width * mesh1.height, [mesh2]( const bspDrawVert_t& v1 ){
return std::any_of( mesh2.verts, mesh2.verts + mesh2.width * mesh2.height, [v1]( const bspDrawVert_t& v2 ){
std::ranges::any_of( Span( mesh1.verts, mesh1.width * mesh1.height ), [mesh2]( const bspDrawVert_t& v1 ){
return std::ranges::any_of( Span( mesh2.verts, mesh2.width * mesh2.height ), [v1]( const bspDrawVert_t& v2 ){
return vector3_equal_epsilon( v1.xyz, v2.xyz, 1.f );
} );
} );