Removed the calls to the 1st collision detection attempt
[hair] / src / hair.cc
index b99d133..ef93f2c 100644 (file)
@@ -187,7 +187,7 @@ void Hair::update(float dt)
                hair[i].velocity += ((-hair[i].velocity * DAMPING) + accel) * dt;
                Vec3 new_pos = hair[i].pos + hair[i].velocity * dt;
 
-               hair[i].pos = handle_collision(new_pos);
+               hair[i].pos = new_pos; //= handle_collision(new_pos);
 
                dbg_force = force;
        }