Don't rescale mesh in POV export

This commit is contained in:
Alessandro Ranellucci 2016-10-18 14:25:25 +02:00
parent 68acf19c09
commit 56334c49ac

View File

@ -58,11 +58,6 @@ POV::write(TriangleMesh& mesh, std::string output_file)
{
TriangleMesh mesh2 = mesh;
mesh2.center_around_origin();
{
Sizef3 size = mesh2.bounding_box().size();
coordf_t maxdim = fmax(size.x, fmax(size.y, size.y));
mesh2.scale(10.0/maxdim);
}
using namespace std;
ofstream pov;