Changeset 5770 in orxonox.OLD for trunk/src/lib/coord/p_node.h
- Timestamp:
- Nov 25, 2005, 12:40:36 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/coord/p_node.h
r5769 r5770 21 21 #include "base_object.h" 22 22 #include "vector.h" 23 #include <list> 23 24 24 25 // FORWARD DECLARATION … … 155 156 156 157 private: 157 bool bRelCoorChanged; //!< If Relative Coordinate has changed since last time we checked158 bool bRelDirChanged; //!< If Relative Direction has changed since last time we checked158 bool bRelCoorChanged; //!< If Relative Coordinate has changed since last time we checked 159 bool bRelDirChanged; //!< If Relative Direction has changed since last time we checked 159 160 160 Vector relCoordinate; //!< coordinates relative to the parent161 Vector absCoordinate; //!< absolute coordinates in the world ( from (0,0,0) )162 Quaternion relDirection; //!< direction relative to the parent163 Quaternion absDirection; //!< absolute direvtion in the world ( from (0,0,1) )161 Vector relCoordinate; //!< coordinates relative to the parent 162 Vector absCoordinate; //!< absolute coordinates in the world ( from (0,0,0) ) 163 Quaternion relDirection; //!< direction relative to the parent 164 Quaternion absDirection; //!< absolute direvtion in the world ( from (0,0,1) ) 164 165 165 Vector prevRelCoordinate; //!< The last Relative Coordinate from the last update-Cycle.166 Vector lastAbsCoordinate; //!< this is used for speedcalculation, it stores the last coordinate167 Quaternion prevRelDirection; //!< The last Relative Direciton from the last update-Cycle.168 // Quaternion lastAbsDirection;166 Vector prevRelCoordinate; //!< The last Relative Coordinate from the last update-Cycle. 167 Vector lastAbsCoordinate; //!< this is used for speedcalculation, it stores the last coordinate 168 Quaternion prevRelDirection; //!< The last Relative Direciton from the last update-Cycle. 169 // Quaternion lastAbsDirection; 169 170 170 Vector velocity; //!< Saves the velocity.171 Vector velocity; //!< Saves the velocity. 171 172 172 Vector* toCoordinate; //!< a position to which to iterate. (This is used in conjunction with setParentSoft.and set*CoorSoft)173 Quaternion* toDirection; //!< a direction to which to iterate. (This is used in conjunction with setParentSoft and set*DirSoft)174 float bias; //!< how fast to iterate to the given position (default is 1)173 Vector* toCoordinate; //!< a position to which to iterate. (This is used in conjunction with setParentSoft.and set*CoorSoft) 174 Quaternion* toDirection; //!< a direction to which to iterate. (This is used in conjunction with setParentSoft and set*DirSoft) 175 float bias; //!< how fast to iterate to the given position (default is 1) 175 176 176 PNode* parent; //!< a pointer to the parent node177 tList<PNode>*children; //!< list of the children of this PNode177 PNode* parent; //!< a pointer to the parent node 178 std::list<PNode*> children; //!< list of the children of this PNode 178 179 179 unsigned int parentMode; //!< the mode of the binding180 unsigned int parentMode; //!< the mode of the binding 180 181 }; 181 182
Note: See TracChangeset
for help on using the changeset viewer.