Changeset 6908 in orxonox.OLD for branches/network
- Timestamp:
 - Jan 31, 2006, 5:48:04 PM (20 years ago)
 - File:
 - 
          
- 1 edited
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
branches/network/src/world_entities/space_ships/space_ship.cc
r6907 r6908 711 711 } 712 712 #define __OFFSET_VEL 0.05 713 if ( fabs( oldVelocity.x - velocity.x ) > __OFFSET_VEL* oldVelocity.x+0.1 ||714 fabs( oldVelocity.y - velocity.y ) > __OFFSET_VEL* oldVelocity.y+0.1 ||715 fabs( oldVelocity.z - velocity.z ) > __OFFSET_VEL* oldVelocity.z+0.1 )713 if ( fabs( oldVelocity.x - velocity.x ) > __OFFSET_VEL*fabs(oldVelocity.x)+0.1 || 714 fabs( oldVelocity.y - velocity.y ) > __OFFSET_VEL*fabs(oldVelocity.y)+0.1 || 715 fabs( oldVelocity.z - velocity.z ) > __OFFSET_VEL*fabs(oldVelocity.z)+0.1 ) 716 716 { 717 717 oldVelocity.x = velocity.x;  
Note: See TracChangeset
          for help on using the changeset viewer.
      


            






