- Timestamp:
- Apr 13, 2005, 10:48:49 PM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/coord/p_node.cc
r3810 r3811 217 217 218 218 */ 219 /* 219 220 void PNode::shiftCoor (Vector* shift) 220 221 { 221 222 222 __UNLIKELY_IF( this->bAbsCoorChanged) 223 223 { … … 230 230 } 231 231 } 232 232 */ 233 233 234 234 … … 492 492 \return the mode of the bind-type. 493 493 */ 494 int PNode::getMode() 494 int PNode::getMode() const 495 495 { 496 496 return this->mode; 497 497 } 498 498 499 499 500 /** -
orxonox/trunk/src/lib/coord/p_node.h
r3810 r3811 61 61 inline Vector getAbsCoor () const { return *this->absCoordinate; } 62 62 void setAbsCoor (const Vector& absCoord); 63 void shiftCoor (Vector* shift);64 63 void shiftCoor (const Vector& shift); 65 64 66 65 inline Quaternion getRelDir () const { return *this->relDirection; } 67 //void setRelDir (Quaternion* relDir);68 66 void setRelDir (const Quaternion& relDir); 69 67 inline Quaternion getAbsDir () const { return *this->absDirection; } 70 //void setAbsDir (Quaternion* absDir);71 68 void setAbsDir (const Quaternion& absDir); 72 //void shiftDir (Quaternion* shift);73 69 void shiftDir (const Quaternion& shift); 74 70 … … 84 80 void parentDirChanged (); 85 81 void setMode (int parentingMode); 86 int getMode() ;82 int getMode() const; 87 83 88 84 virtual void update (float dt); -
orxonox/trunk/src/world_entities/player.cc
r3764 r3811 199 199 200 200 Vector move = accel * time; 201 this->shiftCoor ( &move);201 this->shiftCoor (move); 202 202 } 203 203
Note: See TracChangeset
for help on using the changeset viewer.