diff options
Diffstat (limited to 'src/arap.cpp')
-rw-r--r-- | src/arap.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arap.cpp b/src/arap.cpp index 0dcaefd..92ea21d 100644 --- a/src/arap.cpp +++ b/src/arap.cpp @@ -17,8 +17,8 @@ ARAP::ARAP() {} void ARAP::init(Eigen::Vector3f &coeffMin, Eigen::Vector3f &coeffMax) { - m_num_iterations = 5; - m_mesh_path = "meshes/peter.obj"; + m_num_iterations = 1000; + m_mesh_path = "meshes/bunny.obj"; vector<Vector3f> vertices; vector<Vector3i> triangles; @@ -46,8 +46,8 @@ void ARAP::move(int vertex, Vector3f targetPosition) std::vector<Eigen::Vector3f> new_vertices = m_shape.getVertices(); const std::unordered_set<int>& anchors = m_shape.getAnchors(); - std::cout << "anchors size" << anchors.size() << std::endl; - std::cout << "targetPosition" << targetPosition << std::endl; +// std::cout << "anchors size" << anchors.size() << std::endl; +// std::cout << "targetPosition" << targetPosition << std::endl; // TODO: implement ARAP here new_vertices[vertex] = targetPosition; |