Changeset 4844 in orxonox.OLD for orxonox/trunk/src/lib/graphics/spatial_separation/spatial_separation.cc
- Timestamp:
- Jul 12, 2005, 11:25:53 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/graphics/spatial_separation/spatial_separation.cc
r4842 r4844 34 34 { 35 35 this->setClassID(CL_SPATIAL_SEPARATION, "SpatialSeparation"); 36 36 this->getDimension(model); 37 37 } 38 38 … … 130 130 if( pVertices[2] < minY) 131 131 minY = pVertices[2]; 132 } 133 Rectangle* rect = new Rectangle(); 132 134 133 PRINTF(0)("Dimension Informationation: X: min/max %f/%f Y: min/max %f/%f\n", minX, maxX, minY, maxY); 134 } 135 rect->setCenter((maxX + minX) / 2.0f, 0.0f, (maxY + minY) / 2.0f); 136 137 138 PRINTF(0)("Dimension Informationation: X: min/max %f/%f Y: min/max %f/%f\n", minX, maxX, minY, maxY); 135 139 } 136 140
Note: See TracChangeset
for help on using the changeset viewer.