diff options
author | jjesswan <jessica_wan@brown.edu> | 2024-05-10 01:52:52 -0400 |
---|---|---|
committer | jjesswan <jessica_wan@brown.edu> | 2024-05-10 01:52:52 -0400 |
commit | c93b28613dd9c33de29152f987aeec3ca8340f8d (patch) | |
tree | b3f7e39cdc0de827bac057f1a9e08f5f74f5bf84 /src/arap.cpp | |
parent | d2f792c6fee2a6e78dcf2fff77f43ef036c58877 (diff) | |
parent | 6aab43ffd2c29a66f71b0684974abd5b2685341c (diff) |
merge with new foam fixes
Diffstat (limited to 'src/arap.cpp')
-rw-r--r-- | src/arap.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arap.cpp b/src/arap.cpp index 670f06e..2d952ae 100644 --- a/src/arap.cpp +++ b/src/arap.cpp @@ -66,7 +66,7 @@ void ARAP::init // minCorner = Vector3f(-1.0f, -1.0f, -1.0f); // maxCorner = Vector3f(1.0f, 1.0f, 1.0f); - initCausticsShape(10); + initCausticsShape(1000); } void ARAP::update(double seconds) @@ -85,7 +85,7 @@ void ARAP::update(double seconds) m_ocean.fft_prime(m_time); m_ocean.update_ocean(); m_shape.setVertices_and_Normals(m_ocean.get_vertices(), m_ocean.getNormals()); - // m_shape.setVertices(m_ocean.get_vertices()); +// m_shape.setVertices(m_ocean.get_vertices()); // auto tmp = m_ocean.get_vertices(); // print the min and max of the vertices @@ -94,7 +94,7 @@ void ARAP::update(double seconds) // for (int i = 0; i < tmp.size(); i++) { // min = min.cwiseMin(tmp[i]); // max = max.cwiseMax(tmp[i]); -// } +// }w // std::cout << "min: " << min << std::endl; //std::cout << "max: " << max << std::endl; |