Changeset 10309 in orxonox.OLD for branches/mount_points/src
- Timestamp:
- Jan 23, 2007, 11:13:37 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mount_points/src/lib/graphics/importer/static_model.cc
r10308 r10309 158 158 Vector* center = NULL; 159 159 // now find the center point (the one with the 90degree angle) 160 if( ab.dot( ac) < 0.01)160 if( fabs(ab.dot( ac)) < 0.01) 161 161 center = &a; 162 else if( ab.dot(bc) < 0.01)162 else if( fabs(ab.dot(bc)) < 0.01) 163 163 center = &b; 164 else if( bc.dot(ac) < 0.01)164 else if( fabs(bc.dot(ac)) < 0.01) 165 165 center = &c; 166 166 167 if( center != NULL)168 PRINTF(0)("found a center\n"); 167 center->debug(); 168 169 169 } 170 170
Note: See TracChangeset
for help on using the changeset viewer.