Changeset 3938 in orxonox.OLD for orxonox/branches/particleEngine/src/lib/coord
- Timestamp:
- Apr 23, 2005, 4:48:57 AM (20 years ago)
- Location:
- orxonox/branches/particleEngine/src/lib/coord
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/particleEngine/src/lib/coord/p_node.cc
r3860 r3938 307 307 } 308 308 309 /** 310 \returns the Velocity of the PNode 311 */ 312 Vector PNode::getVelocity() const 313 { 314 return (*this->absCoordinate - *this->lastAbsCoordinate) / this->time; 315 } 309 316 310 317 /** -
orxonox/branches/particleEngine/src/lib/coord/p_node.h
r3813 r3938 70 70 71 71 float getSpeed() const; 72 Vector getVelocity() const; 72 73 73 74 void addChild (PNode* pNode, int parentingMode = DEFAULT_MODE);
Note: See TracChangeset
for help on using the changeset viewer.