A mass-spring cloth simulator using Polyscope for visualization and Eigen for numerical computation.
git clone --depth=1 --recurse-submodules https://github.com/ReFantasy/SimulationCourse.gitor
git clone https://github.com/ReFantasy/SimulationCourse.git
cd SimulationCourse
git submodule update --init --recursivecd SimulationCourse
cmake -S . -B build
cmake --build build -j8Complete the function
void EulerStep(System& system, REAL dt)in src/timestepper/euler.cppvoid MassSpringSystem::CalculateForces()in src/mass_spring_sytem.cpp