Changeset 5671 in orxonox.OLD for trunk/src/lib/physics
- Timestamp:
- Nov 21, 2005, 3:50:41 PM (19 years ago)
- Location:
- trunk/src/lib/physics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/physics/fields/field.cc
r5652 r5671 60 60 static_cast<PNode*>(this)->loadParams(root); 61 61 62 LoadParam NEW(root, "magnitude", this, Field, setMagnitude)62 LoadParam(root, "magnitude", this, Field, setMagnitude) 63 63 .describe("sets the magnitude of this Field") 64 64 ->defaultValues(1, 1); 65 65 66 LoadParam NEW(root, "attenuation", this, Field, setAttenuation)66 LoadParam(root, "attenuation", this, Field, setAttenuation) 67 67 .describe("sets the attenuation of this Field."); 68 68 -
trunk/src/lib/physics/physics_connection.cc
r5652 r5671 52 52 static_cast<BaseObject*>(this)->loadParams(root); 53 53 54 LoadParam NEW(root, "subject", this, PhysicsConnection, setSubject)54 LoadParam(root, "subject", this, PhysicsConnection, setSubject) 55 55 .describe("set the subject by a name"); 56 56 57 LoadParam NEW(root, "field", this, PhysicsConnection, setField)57 LoadParam(root, "field", this, PhysicsConnection, setField) 58 58 .describe("set the field by name"); 59 59
Note: See TracChangeset
for help on using the changeset viewer.