Skip to content

Commit 864fd92

Browse files
committed
[core] MeshPrimitives remove debug print.
1 parent 8830862 commit 864fd92

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

Diff for: src/Core/Geometry/MeshPrimitives.cpp

+1-12
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#include "Core/Geometry/IndexedGeometry.hpp"
21
#include <Core/Containers/Grid.hpp>
2+
#include <Core/Geometry/IndexedGeometry.hpp>
33
#include <Core/Geometry/MeshPrimitives.hpp>
44
#include <Core/Geometry/StandardAttribNames.hpp>
55
#include <Core/Math/Math.hpp> // areApproxEqual
@@ -8,8 +8,6 @@
88
#include <array>
99
#include <string>
1010

11-
#include <typeinfo>
12-
1311
namespace Ra {
1412
namespace Core {
1513
namespace Geometry {
@@ -213,25 +211,16 @@ MultiIndexedGeometry makeSharpBox2( const Aabb& aabb,
213211
};
214212
auto semantic = layer->semantics();
215213

216-
std::for_each( layer->semantics().cbegin(),
217-
layer->semantics().cend(),
218-
[]( const std::string& x ) { std::cerr << x << '\n'; } );
219-
220214
result.addLayer( std::move( layer ) );
221-
auto test = result.getFirstLayerOccurrence( semantic );
222-
auto& tmp = test.second;
223-
std::cerr << "make typeinfo " << typeid( tmp ).name() << "\n";
224215
if ( bool( color ) ) result.colorize( *color );
225216
result.checkConsistency();
226-
std::cerr << "return make sharp box aabb \n";
227217
return MultiIndexedGeometry { std::move( result ) };
228218
}
229219

230220
MultiIndexedGeometry makeSharpBox2( const Vector3& halfExts,
231221
const Utils::optional<Utils::Color>& color,
232222
bool generateTexCoord ) {
233223
Aabb aabb( -halfExts, halfExts );
234-
std::cerr << "return make sharp box half \n";
235224
return makeSharpBox2( aabb, color, generateTexCoord );
236225
}
237226

0 commit comments

Comments
 (0)