]> Dogcows Code - chaz/yoink/blobdiff - src/Character.cc
testing new non-autotools build system
[chaz/yoink] / src / Character.cc
index a857cbebfa6fffbb76facc3830c220d67df59b52..01b4753f0f2287372e23b527293a050ee4fd1117 100644 (file)
@@ -73,13 +73,13 @@ Character::Character(const std::string& name) :
 
        // forces
        state_.force = moof::vector2(0.0, 0.0);
-       //state_.forces.push_back(SpringForce(moof::vector2(5.0, 4.0)));
+       state_.forces.push_back(SpringForce(moof::vector2(5.0, 4.0)));
        state_.forces.push_back(ResistanceForce(2.0));
-       //state_.forces.push_back(moof::linear_state<2>::gravity_force(-9.8));
+       state_.forces.push_back(moof::linear_state<2>::gravity_force(-9.8));
 
        // starting position
        state_.position = moof::vector2(5.0, 5.0);
-       state_.momentum = moof::vector2(0.0, 0.0);
+       state_.momentum = moof::vector2(1.0, 0.0);
        state_.recalculate();
 
        prev_state_ = state_;
This page took 0.016942 seconds and 4 git commands to generate.