Changeset 6512 in orxonox.OLD for trunk/src/lib/physics
- Timestamp:
- Jan 17, 2006, 10:01:07 PM (19 years ago)
- Location:
- trunk/src/lib/physics
- Files:
-
- 6 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; -
trunk/src/lib/physics/physics_connection.cc
r5750 r6512 50 50 this->type = PCON_PhysIField; 51 51 52 static_cast<BaseObject*>(this)->loadParams(root);52 BaseObject::loadParams(root); 53 53 54 54 LoadParam(root, "subject", this, PhysicsConnection, setSubject) -
trunk/src/lib/physics/physics_engine.h
r5779 r6512 27 27 inline static PhysicsEngine* getInstance() { if (!singletonRef) singletonRef = new PhysicsEngine(); return singletonRef; }; 28 28 29 v oid loadParams(const TiXmlElement* root);29 virtual void loadParams(const TiXmlElement* root); 30 30 void loadFields(const TiXmlElement* root); 31 31 void loadConnections(const TiXmlElement* root);
Note: See TracChangeset
for help on using the changeset viewer.