|
1 |
| -#include "Core/Geometry/IndexedGeometry.hpp" |
2 | 1 | #include <Core/Containers/Grid.hpp>
|
| 2 | +#include <Core/Geometry/IndexedGeometry.hpp> |
3 | 3 | #include <Core/Geometry/MeshPrimitives.hpp>
|
4 | 4 | #include <Core/Geometry/StandardAttribNames.hpp>
|
5 | 5 | #include <Core/Math/Math.hpp> // areApproxEqual
|
|
8 | 8 | #include <array>
|
9 | 9 | #include <string>
|
10 | 10 |
|
11 |
| -#include <typeinfo> |
12 |
| - |
13 | 11 | namespace Ra {
|
14 | 12 | namespace Core {
|
15 | 13 | namespace Geometry {
|
@@ -213,25 +211,16 @@ MultiIndexedGeometry makeSharpBox2( const Aabb& aabb,
|
213 | 211 | };
|
214 | 212 | auto semantic = layer->semantics();
|
215 | 213 |
|
216 |
| - std::for_each( layer->semantics().cbegin(), |
217 |
| - layer->semantics().cend(), |
218 |
| - []( const std::string& x ) { std::cerr << x << '\n'; } ); |
219 |
| - |
220 | 214 | 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"; |
224 | 215 | if ( bool( color ) ) result.colorize( *color );
|
225 | 216 | result.checkConsistency();
|
226 |
| - std::cerr << "return make sharp box aabb \n"; |
227 | 217 | return MultiIndexedGeometry { std::move( result ) };
|
228 | 218 | }
|
229 | 219 |
|
230 | 220 | MultiIndexedGeometry makeSharpBox2( const Vector3& halfExts,
|
231 | 221 | const Utils::optional<Utils::Color>& color,
|
232 | 222 | bool generateTexCoord ) {
|
233 | 223 | Aabb aabb( -halfExts, halfExts );
|
234 |
| - std::cerr << "return make sharp box half \n"; |
235 | 224 | return makeSharpBox2( aabb, color, generateTexCoord );
|
236 | 225 | }
|
237 | 226 |
|
|
0 commit comments