Changeset 10165 in orxonox.OLD for branches/mount_points/src/lib/graphics/importer/static_model.cc
- Timestamp:
- Jan 3, 2007, 3:19:45 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mount_points/src/lib/graphics/importer/static_model.cc
r10147 r10165 116 116 117 117 // now check if it is a mount point identifier 118 if( this->data->getGroups().size() != 5) { 119 PRINTF(1)("the face count of %s is wrong, perhaps you missnamed this object or used the wrong mount point object\n", groupName.c_str()); 118 if( (*groupIt)._faces.size() != 6) { PRINTF(1)("the face count of %s is wrong, perhaps you missnamed this object or used the wrong mount point object (got %i faces)\n", groupName.c_str(), (*groupIt)._faces.size()); 120 119 } 121 120 … … 135 134 } 136 135 137 // vertex with the max count is the up-point136 // vertex with the max surrounding faces is the up-point (pyramid like object) 138 137 std::vector<Vector>::const_iterator it = vertices.begin(); 139 138 Vector tmpPoint; … … 167 166 center /= vertices.size(); 168 167 168 PRINTF(0)("Up Point\n"); 169 upPoint.debug(); 170 171 PRINTF(0)("Center\n"); 172 center.debug(); 169 173 170 174 }
Note: See TracChangeset
for help on using the changeset viewer.