Commit 274fc251 authored by Alexander Breuer's avatar Alexander Breuer

Fixed missing boundary conditions.

parent d4c3b1b3
......@@ -246,6 +246,7 @@ void Simulation::calculateWaterSurface(float3* destBuffer) {
//splash->simulateConstTimestep();
// curTime = splash->simulate(curTime, curTime + 5*splash->getMaxTimestep());
float dt = splash->getMaxTimestep();
splash->setGhostLayer();
splash->simulateTimestep(dt);
curTime += dt;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment