|
|
|
@ -298,7 +298,6 @@ int PrimitiveVisualizer::exec() { |
|
|
|
Containers::Optional<Trade::MeshData> data; |
|
|
|
Containers::Optional<Trade::MeshData> data; |
|
|
|
std::tie(data, filename) = (this->*fun)(); |
|
|
|
std::tie(data, filename) = (this->*fun)(); |
|
|
|
|
|
|
|
|
|
|
|
/* TODO: use MeshVisualizer2D once it exists */ |
|
|
|
|
|
|
|
GL::Mesh mesh = MeshTools::compile(*data); |
|
|
|
GL::Mesh mesh = MeshTools::compile(*data); |
|
|
|
flat.draw(mesh); |
|
|
|
flat.draw(mesh); |
|
|
|
wireframe2D.draw(mesh); |
|
|
|
wireframe2D.draw(mesh); |
|
|
|
|