Changeset 869 for code/branches/core/src/orxonox/objects/WorldEntity.cc
- Timestamp:
- Mar 9, 2008, 4:04:23 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core/src/orxonox/objects/WorldEntity.cc
r856 r869 158 158 } 159 159 160 void WorldEntity::setYawPitchRoll(const Degree& yaw, const Degree& pitch, const Degree& roll) 161 { 162 this->yaw(yaw); 163 this->pitch(pitch); 164 this->roll(roll); 165 } 160 166 161 167 /** … … 169 175 BaseObject::XMLPort(xmlelement, loading); 170 176 171 XMLPortParam(WorldEntity, "position", setPosition, getPosition, xmlelement, loading); 172 // XMLPortParam(WorldEntity, "direction", setDirection, getDirection, xmlelement, loading); 173 XMLPortParamLoadOnly(WorldEntity, "yaw", setYaw, xmlelement, loading); 174 XMLPortParamLoadOnly(WorldEntity, "pitch", setPitch, xmlelement, loading); 175 XMLPortParamLoadOnly(WorldEntity, "roll", setRoll, xmlelement, loading); 177 XMLPortParam(WorldEntity, "position", setPositionLoader2, getPosition, xmlelement, loading); 178 XMLPortParamLoadOnly(WorldEntity, "direction", setDirectionLoader, xmlelement, loading); 179 XMLPortParamLoadOnly(WorldEntity, "yawpitchroll", setYawPitchRoll, xmlelement, loading); 176 180 XMLPortParam(WorldEntity, "scale", setTotalScale, getScale, xmlelement, loading); 177 XMLPortParam(WorldEntity, "rotationAxis", setRotationAxis , getRotationAxis, xmlelement, loading);181 XMLPortParam(WorldEntity, "rotationAxis", setRotationAxisLoader, getRotationAxis, xmlelement, loading); 178 182 XMLPortParam(WorldEntity, "rotationRate", setRotationRate, getRotationRate, xmlelement, loading); 179 183
Note: See TracChangeset
for help on using the changeset viewer.