Changeset 5693 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Nov 22, 2005, 12:53:48 AM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/Makefile.in
r5691 r5693 280 280 esac; \ 281 281 done; \ 282 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnusrc/lib/Makefile'; \282 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/lib/Makefile'; \ 283 283 cd $(top_srcdir) && \ 284 $(AUTOMAKE) -- gnusrc/lib/Makefile284 $(AUTOMAKE) --foreign src/lib/Makefile 285 285 .PRECIOUS: Makefile 286 286 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
trunk/src/lib/collision_detection/Makefile.in
r5687 r5693 219 219 esac; \ 220 220 done; \ 221 echo ' cd $(top_srcdir) && $(AUTOMAKE) -- gnusrc/lib/collision_detection/Makefile'; \221 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/lib/collision_detection/Makefile'; \ 222 222 cd $(top_srcdir) && \ 223 $(AUTOMAKE) -- gnusrc/lib/collision_detection/Makefile223 $(AUTOMAKE) --foreign src/lib/collision_detection/Makefile 224 224 .PRECIOUS: Makefile 225 225 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
trunk/src/lib/collision_detection/bv_tree.cc
r4836 r5693 21 21 22 22 23 23 24 /** 24 25 * standard constructor -
trunk/src/lib/collision_detection/obb_tree_node.cc
r5692 r5693 51 51 this->bvElement = NULL; 52 52 53 if( OBBTreeNode::coMat == NULL)53 if( OBBTreeNode::coMat == NULL) 54 54 { 55 55 OBBTreeNode::coMat = new float*[4]; … … 57 57 OBBTreeNode::coMat[i] = new float[4]; 58 58 } 59 if( OBBTreeNode::eigvMat == NULL)59 if( OBBTreeNode::eigvMat == NULL) 60 60 { 61 61 OBBTreeNode::eigvMat = new float*[4]; 62 for( int i = 0; i < 4; i++)62 for( int i = 0; i < 4; i++) 63 63 OBBTreeNode::eigvMat[i] = new float[4]; 64 64 } … … 70 70 OBBTreeNode::rotCount = new int; 71 71 72 if (OBBTreeNode_sphereObj == NULL)72 if( OBBTreeNode_sphereObj == NULL) 73 73 OBBTreeNode_sphereObj = gluNewQuadric(); 74 74 } -
trunk/src/lib/collision_detection/obb_tree_node.h
r5688 r5693 45 45 void calculateBoxEigenvectors(OBB* box, const sVec3D* verticesList, unsigned int length); 46 46 void calculateBoxAxis(OBB* box, const sVec3D* verticesList, unsigned int length); 47 47 48 48 void calculateBoxCovariance(OBB* box, const modelInfo& modInfo); 49 49 void calculateBoxEigenvectors(OBB* box, const modelInfo& modInfo); 50 50 void calculateBoxAxis(OBB* box, const modelInfo& modInfo); 51 51 52 52 53 53 void forkBox(OBB* box); 54 54 … … 67 67 static OBBTree* obbTree; //!< reference to the obb tree 68 68 Plane* separationPlane; //!< the separation plane of the obb 69 const sVec3D* sepPlaneCenter; //!< only needed to draw plane @todo: separationPlane drawing69 const sVec3D* sepPlaneCenter; //!< only needed to draw plane 70 70 int longestAxisIndex; //!< only needed to draw plane 71 71
Note: See TracChangeset
for help on using the changeset viewer.