/[enigma]/enigma/src/world.cc
ViewVC logotype

Diff of /enigma/src/world.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.72.2.7 by dheck, Fri Oct 3 22:21:26 2003 UTC revision 1.72.2.8 by dheck, Sat Oct 4 10:44:08 2003 UTC
# Line 449  advance_actor(Actor *a, double time, dou Line 449  advance_actor(Actor *a, double time, dou
449      ActorInfo &ai = *a->get_actorinfo();      ActorInfo &ai = *a->get_actorinfo();
450      V2 accel = get_accel(a, ai.pos, ai.vel, time);      V2 accel = get_accel(a, ai.pos, ai.vel, time);
451    
     cout << "#contacts: " << ai.contact_normals.size() << endl;  
   
452      // If the actor is currently in contact with other objects, remove      // If the actor is currently in contact with other objects, remove
453      // the force components in the direction of these objects.      // the force components in the direction of these objects.
454      for (unsigned i=0; i<ai.contact_normals.size(); ++i)      for (unsigned i=0; i<ai.contact_normals.size(); ++i)

Legend:
Removed from v.1.72.2.7  
changed lines
  Added in v.1.72.2.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26