Changeset 4468 in orxonox.OLD for orxonox/trunk/src/util
- Timestamp:
- Jun 2, 2005, 1:47:16 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/util/resource_manager.cc
r4465 r4468 262 262 263 263 if (!strcmp(tmpResource->name, "cube")) 264 tmpResource->pointer = new PrimitiveModel( CUBE, tmpResource->modelSize);264 tmpResource->pointer = new PrimitiveModel(PRIM_CUBE, tmpResource->modelSize); 265 265 else if (!strcmp(tmpResource->name, "sphere")) 266 tmpResource->pointer = new PrimitiveModel( SPHERE, tmpResource->modelSize);266 tmpResource->pointer = new PrimitiveModel(PRIM_SPHERE, tmpResource->modelSize); 267 267 else if (!strcmp(tmpResource->name, "plane")) 268 tmpResource->pointer = new PrimitiveModel(P LANE, tmpResource->modelSize);268 tmpResource->pointer = new PrimitiveModel(PRIM_PLANE, tmpResource->modelSize); 269 269 else if (!strcmp(tmpResource->name, "cylinder")) 270 tmpResource->pointer = new PrimitiveModel( CYLINDER, tmpResource->modelSize);270 tmpResource->pointer = new PrimitiveModel(PRIM_CYLINDER, tmpResource->modelSize); 271 271 else if (!strcmp(tmpResource->name, "cone")) 272 tmpResource->pointer = new PrimitiveModel( CONE, tmpResource->modelSize);272 tmpResource->pointer = new PrimitiveModel(PRIM_CONE, tmpResource->modelSize); 273 273 break; 274 274 case MD2:
Note: See TracChangeset
for help on using the changeset viewer.