Subversion Repositories gelsvn

Rev

Rev 39 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 39 Rev 62
Line 22... Line 22...
22
    float s = 1.0/d.max_coord();
22
    float s = 1.0/d.max_coord();
23
    cout << p0 << p7 << d << s << endl;
23
    cout << p0 << p7 << d << s << endl;
24
    
24
    
25
    for(VertexIter vi = m.vertices_begin(); vi != m.vertices_end(); ++vi)
25
    for(VertexIter vi = m.vertices_begin(); vi != m.vertices_end(); ++vi)
26
    {
26
    {
27
	vi->set_pos((vi->get_pos() - p0) * s);
27
				vi->pos = (vi->pos - p0) * s;
28
    }
28
    }
29
    
29
    
30
    cout << "Perform quadric based simplification ... " << endl;
30
    cout << "Perform quadric based simplification ... " << endl;
31
    quadric_simplify(m,atoi(argv[2]));
31
    quadric_simplify(m,atoi(argv[2]));
32
    
32