Changeset 5499 in orxonox.OLD for trunk/src/world_entities/world_entity.cc
- Timestamp:
- Nov 7, 2005, 10:56:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/world_entity.cc
r5498 r5499 75 75 76 76 // Model Loading 77 LoadParam<WorldEntity>(root, "model", this, &WorldEntity::loadModel )77 LoadParam<WorldEntity>(root, "model", this, &WorldEntity::loadModel, false, NULL, 1.0f) 78 78 .describe("the fileName of the model, that should be loaded onto this world-entity. (must be relative to the data-dir)") ; 79 79 80 // HACK81 LoadParam<WorldEntity>(root, "scaled-model", this, &WorldEntity::loadModelWithScale)82 .describe("the fileName of the model, that should be loaded onto this world-entity. (must be relative to the data-dir)") ;83 80 } 84 81 … … 90 87 * @todo fix this, so it only has one loadModel-Function. 91 88 */ 92 void WorldEntity::loadModel WithScale(const char* fileName, float scaling)89 void WorldEntity::loadModel(const char* fileName, float scaling) 93 90 { 94 91 if (this->model)
Note: See TracChangeset
for help on using the changeset viewer.