]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/RK4.hh
spring experiments
[chaz/yoink] / src / Moof / RK4.hh
index a2e0f1cbe713c62e0eb9b6267c2b2febaecd065a..00c0b649c9406414dd7a56593322b59bb1f8b780 100644 (file)
@@ -75,6 +75,15 @@ inline void integrate(S& state, Scalar t, Scalar dt)
 }
 
 
+//template<typename T>
+//inline T spring(Scalar k, Scalar b)
+//{
+       //current.force = -15 * (current.position - Mf::Vector2(200.0, 200.0))
+               //- 15.0 * current.velocity;
+       //return 
+//}
+
+
 } // namespace Mf
 
 #endif // _MOOF_RK4_HH_
This page took 0.019294 seconds and 4 git commands to generate.