stiffer bunnies

feature/softbody-runtime-control
Benjamin Kraft 3 months ago
parent d1bcd6babe
commit 191ddad2bb
  1. 2
      src/application.cpp

@ -137,7 +137,7 @@ void Application::createMeshBuffers() {
softBodies.push_back(std::move(copy)); softBodies.push_back(std::move(copy));
} }
body = std::make_unique<SoftBody>(&bunny, 1.f / 3); body = std::make_unique<SoftBody>(&bunny, 1.f / 10);
for (size_t i = 0; i < 10; i++){ for (size_t i = 0; i < 10; i++){
auto copy = std::make_unique<SoftBody>(*body.get()); auto copy = std::make_unique<SoftBody>(*body.get());
copy->applyVertexOffset({i * 2, 0, 2}); copy->applyVertexOffset({i * 2, 0, 2});

Loading…
Cancel
Save