Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 8, 2009, 12:58:47 AM (16 years ago)
Author:
dafrick
Message:

Reverted to revision 2906 (because I'm too stupid to merge correctly, 2nd try will follow shortly. ;))

Location:
code/branches/questsystem5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem5

  • code/branches/questsystem5/src/bullet/BulletDynamics/ConstraintSolver/btHingeConstraint.h

    r2907 r2908  
    5454
    5555        btScalar        m_accLimitImpulse;
    56         btScalar        m_hingeAngle;
    57         btScalar    m_referenceSign;
    5856
    5957        bool            m_angularOnly;
    6058        bool            m_enableAngularMotor;
    6159        bool            m_solveLimit;
    62         bool            m_useSolveConstraintObsolete;
    63         bool            m_useReferenceFrameA;
    6460
    6561       
    6662public:
    6763
    68         btHingeConstraint(btRigidBody& rbA,btRigidBody& rbB, const btVector3& pivotInA,const btVector3& pivotInB, btVector3& axisInA,btVector3& axisInB, bool useReferenceFrameA = false);
     64        btHingeConstraint(btRigidBody& rbA,btRigidBody& rbB, const btVector3& pivotInA,const btVector3& pivotInB, btVector3& axisInA,btVector3& axisInB);
    6965
    70         btHingeConstraint(btRigidBody& rbA,const btVector3& pivotInA,btVector3& axisInA, bool useReferenceFrameA = false);
     66        btHingeConstraint(btRigidBody& rbA,const btVector3& pivotInA,btVector3& axisInA);
    7167       
    72         btHingeConstraint(btRigidBody& rbA,btRigidBody& rbB, const btTransform& rbAFrame, const btTransform& rbBFrame, bool useReferenceFrameA = false);
     68        btHingeConstraint(btRigidBody& rbA,btRigidBody& rbB, const btTransform& rbAFrame, const btTransform& rbBFrame);
    7369
    74         btHingeConstraint(btRigidBody& rbA,const btTransform& rbAFrame, bool useReferenceFrameA = false);
     70        btHingeConstraint(btRigidBody& rbA,const btTransform& rbAFrame);
    7571
    7672        btHingeConstraint();
     
    7874        virtual void    buildJacobian();
    7975
    80         virtual void getInfo1 (btConstraintInfo1* info);
    81 
    82         virtual void getInfo2 (btConstraintInfo2* info);
    83        
    84         virtual void    solveConstraintObsolete(btSolverBody& bodyA,btSolverBody& bodyB,btScalar        timeStep);
     76        virtual void    solveConstraint(btScalar        timeStep);
    8577
    8678        void    updateRHS(btScalar      timeStep);
     
    9587        }
    9688
    97         btRigidBody& getRigidBodyA()   
    98         {               
    99                 return m_rbA;   
    100         }       
    101 
    102         btRigidBody& getRigidBodyB()   
    103         {               
    104                 return m_rbB;   
    105         }       
    106        
    10789        void    setAngularOnly(bool angularOnly)
    10890        {
     
    141123        btScalar getHingeAngle();
    142124
    143         void testLimit();
    144 
    145125
    146126        const btTransform& getAFrame() { return m_rbAFrame; }; 
Note: See TracChangeset for help on using the changeset viewer.