- Timestamp:
- May 6, 2006, 1:36:22 AM (19 years ago)
- Location:
- branches/cd/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cd/src/lib/collision_detection/obb_tree_node.cc
r7537 r7545 174 174 t1 = p - q; 175 175 t2 = p - r; 176 facelet[i] = 0.5f * fabs( t1.cross(t2).len() );176 facelet[i] = 0.5f * /*fabs*/( t1.cross(t2).len() ); 177 177 /* update the entire convex hull surface */ 178 178 face += facelet[i]; … … 222 222 bool vertexFound; //!< vertex found flag 223 223 Vector arithCenter; //!< aritmetical center 224 225 /* calculate the arithmetical center of the box */226 227 /* go thourgh all vertices, add only the used vertices indexes */228 // for( int i = 0; i < length; ++i)229 // {230 // for(int j = 0; j < 3; ++j)231 // {232 // vertIndex = modelInf.pTriangles[triangleIndexes[i]].indexToVertices[j];233 //234 // vertexFound = false;235 // for( int i = 0; i < vertIndexVector.size(); i++)236 // {237 // if( vertIndexVector[i] == vertIndex)238 // vertexFound = true;239 // }240 // if( !vertexFound)241 // vertIndexVector.push_back(vertIndex);242 // }243 // }244 // /* now realy calculate the center */245 // for( int i = 0; i < vertIndexVector.size(); ++i)246 // {247 // tmpVec = (sVec3D*)(&modelInf.pVertices[vertIndexVector[i]]);248 // arithCenter += *tmpVec;249 // }250 // box.arithCenter = arithCenter / vertIndexVector.size();251 252 224 253 225 -
branches/cd/src/subprojects/framework.cc
r7367 r7545 35 35 36 36 std::string dataPath = //Preferences::getInstance()->getString(CONFIG_SECTION_DATA, CONFIG_NAME_DATADIR, ""); 37 "/home/grauerb/svn/orxonox/data";37 "/home/boenzlip/orxonox/data"; 38 38 printf("%s\n", dataPath.c_str()); 39 39 if (!dataPath.empty())
Note: See TracChangeset
for help on using the changeset viewer.