Loading src/TNL/Meshes/MeshDetails/initializer/EntitySeed.h +2 −2 Original line number Diff line number Diff line Loading @@ -140,8 +140,8 @@ public: { if( std::is_same< EntityTopology, Topologies::Polygon >::value ) TNL_ASSERT_GE( cornersCount, 3, "polygons must have at least 3 corners" ); /*else if( std::is_same< EntityTopology, Topologies::Polyhedron >::value ) TNL_ASSERT_GE( cornersCount, 2, "polyhedron must have at least 2 faces" );*/ else if( std::is_same< EntityTopology, Topologies::Polyhedron >::value ) TNL_ASSERT_GE( cornersCount, 4, "polyhedron must have at least 4 faces" ); this->cornerIds.setSize( cornersCount ); } Loading Loading
src/TNL/Meshes/MeshDetails/initializer/EntitySeed.h +2 −2 Original line number Diff line number Diff line Loading @@ -140,8 +140,8 @@ public: { if( std::is_same< EntityTopology, Topologies::Polygon >::value ) TNL_ASSERT_GE( cornersCount, 3, "polygons must have at least 3 corners" ); /*else if( std::is_same< EntityTopology, Topologies::Polyhedron >::value ) TNL_ASSERT_GE( cornersCount, 2, "polyhedron must have at least 2 faces" );*/ else if( std::is_same< EntityTopology, Topologies::Polyhedron >::value ) TNL_ASSERT_GE( cornersCount, 4, "polyhedron must have at least 4 faces" ); this->cornerIds.setSize( cornersCount ); } Loading