Changeset 5652 in orxonox.OLD for trunk/src/lib/physics/fields
- Timestamp:
- Nov 20, 2005, 6:32:39 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/physics/fields/field.cc
r5357 r5652 60 60 static_cast<PNode*>(this)->loadParams(root); 61 61 62 LoadParam<Field>(root, "magnitude", this, &Field::setMagnitude) 63 .describe("sets the magnitude of this Field"); 62 LoadParamNEW(root, "magnitude", this, Field, setMagnitude) 63 .describe("sets the magnitude of this Field") 64 ->defaultValues(1, 1); 64 65 65 LoadParam <Field>(root, "attenuation", this, &Field::setAttenuation)66 LoadParamNEW(root, "attenuation", this, Field, setAttenuation) 66 67 .describe("sets the attenuation of this Field."); 67 68
Note: See TracChangeset
for help on using the changeset viewer.