Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5693 in orxonox.OLD for trunk/src/lib/collision_detection


Ignore:
Timestamp:
Nov 22, 2005, 12:53:48 AM (19 years ago)
Author:
patrick
Message:

orxonox: work flush

Location:
trunk/src/lib/collision_detection
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/collision_detection/Makefile.in

    r5687 r5693  
    219219          esac; \
    220220        done; \
    221         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/lib/collision_detection/Makefile'; \
     221        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/lib/collision_detection/Makefile'; \
    222222        cd $(top_srcdir) && \
    223           $(AUTOMAKE) --gnu  src/lib/collision_detection/Makefile
     223          $(AUTOMAKE) --foreign  src/lib/collision_detection/Makefile
    224224.PRECIOUS: Makefile
    225225Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  • trunk/src/lib/collision_detection/bv_tree.cc

    r4836 r5693  
    2121
    2222
     23
    2324/**
    2425 *  standard constructor
  • trunk/src/lib/collision_detection/obb_tree_node.cc

    r5692 r5693  
    5151  this->bvElement = NULL;
    5252
    53   if(OBBTreeNode::coMat == NULL)
     53  if( OBBTreeNode::coMat == NULL)
    5454  {
    5555    OBBTreeNode::coMat = new float*[4];
     
    5757      OBBTreeNode::coMat[i] = new float[4];
    5858  }
    59   if(OBBTreeNode::eigvMat == NULL)
     59  if( OBBTreeNode::eigvMat == NULL)
    6060  {
    6161    OBBTreeNode::eigvMat = new float*[4];
    62     for(int i = 0; i < 4; i++)
     62    for( int i = 0; i < 4; i++)
    6363      OBBTreeNode::eigvMat[i] = new float[4];
    6464  }
     
    7070    OBBTreeNode::rotCount = new int;
    7171
    72   if (OBBTreeNode_sphereObj == NULL)
     72  if( OBBTreeNode_sphereObj == NULL)
    7373    OBBTreeNode_sphereObj = gluNewQuadric();
    7474}
  • trunk/src/lib/collision_detection/obb_tree_node.h

    r5688 r5693  
    4545    void calculateBoxEigenvectors(OBB* box, const sVec3D* verticesList, unsigned int length);
    4646    void calculateBoxAxis(OBB* box, const sVec3D* verticesList, unsigned int length);
    47    
     47
    4848    void calculateBoxCovariance(OBB* box, const modelInfo& modInfo);
    4949    void calculateBoxEigenvectors(OBB* box, const modelInfo& modInfo);
    5050    void calculateBoxAxis(OBB* box, const modelInfo& modInfo);
    5151
    52    
     52
    5353    void forkBox(OBB* box);
    5454
     
    6767    static OBBTree*     obbTree;                    //!< reference to the obb tree
    6868    Plane*              separationPlane;            //!< the separation plane of the obb
    69     const sVec3D*       sepPlaneCenter;             //!< only needed to draw plane @todo: separationPlane drawing
     69    const sVec3D*       sepPlaneCenter;             //!< only needed to draw plane
    7070    int                 longestAxisIndex;           //!< only needed to draw plane
    7171
Note: See TracChangeset for help on using the changeset viewer.