Changeset 1355 for code/branches/merge/src/orxonox
- Timestamp:
- May 22, 2008, 11:53:19 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/merge/src/orxonox/objects/WorldEntity.cc
r1305 r1355 152 152 //register staticity 153 153 registerVar( (void*) &(this->bStatic_), sizeof(this->bStatic_), network::DATA, 0x3); 154 //register acceleration 154 //register acceleration & momentum 155 155 registerVar( (void*) &(this->getAcceleration().x), sizeof(this->getAcceleration().x), network::DATA, 0x3); 156 156 registerVar( (void*) &(this->getAcceleration().y), sizeof(this->getAcceleration().y), network::DATA, 0x3); 157 157 registerVar( (void*) &(this->getAcceleration().z), sizeof(this->getAcceleration().z), network::DATA, 0x3); 158 registerVar( (void*) &(this->getMomentum()), sizeof(this->getMomentum()), network::DATA); 158 159 } 159 160
Note: See TracChangeset
for help on using the changeset viewer.