Beispiel #1
0
    integrator_type integrator(const system& sys, const engine& eng) {
      return [&](const dof::velocity& v, math::real dt) { 
	eng.integrate(v, sys.mass * v, dt); 
      };
    }