Changeset 6512 in orxonox.OLD for trunk/src/lib/physics/fields
- Timestamp:
- Jan 17, 2006, 10:01:07 PM (19 years ago)
- Location:
- trunk/src/lib/physics/fields
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/physics/fields/field.cc
r5708 r6512 58 58 void Field::loadParams(const TiXmlElement* root) 59 59 { 60 static_cast<PNode*>(this)->loadParams(root);60 PNode::loadParams(root); 61 61 62 62 LoadParam(root, "magnitude", this, Field, setMagnitude) -
trunk/src/lib/physics/fields/field.h
r5405 r6512 39 39 40 40 void init(); 41 v oid loadParams(const TiXmlElement* root);41 virtual void loadParams(const TiXmlElement* root); 42 42 43 43 /** -
trunk/src/lib/physics/fields/gravity.cc
r5750 r6512 44 44 void Gravity::loadParams(const TiXmlElement* root) 45 45 { 46 static_cast<Field*>(this)->loadParams(root);46 Field::loadParams(root); 47 47 } 48 48 -
trunk/src/lib/physics/fields/gravity.h
r5405 r6512 21 21 virtual ~Gravity(); 22 22 23 v oid loadParams(const TiXmlElement* root);23 virtual void loadParams(const TiXmlElement* root); 24 24 25 25 virtual Vector calcForce(const Vector& data) const;
Note: See TracChangeset
for help on using the changeset viewer.