Changeset 4553 in orxonox.OLD for orxonox/trunk/src/lib/collision_detection/obb_tree.cc
- Timestamp:
- Jun 8, 2005, 11:59:09 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/collision_detection/obb_tree.cc
r4551 r4553 93 93 94 94 /* generate some test vertices */ 95 sVec3D vertList[] = {{1.0, 3.0, 4.0},{3.5, 6.2, 9.6},{6.4, 9.0, 2.0}}; 95 sVec3D* vertList = new sVec3D[3]; 96 sVec3D data[] = {{0.0, 0.0, 0.0},{5.0, 0.0, 10.0},{-5.0, 0.0, 10.0}}; 97 98 for(int i = 0; i < 3; ++i) 99 { 100 vertList[i][0] = data[i][0]; 101 vertList[i][1] = data[i][1]; 102 vertList[i][2] = data[i][2]; 103 } 96 104 97 105 this->spawnBVTree(1, vertList, 3);
Note: See TracChangeset
for help on using the changeset viewer.