Show
Ignore:
Timestamp:
02/03/10 09:42:58 (6 months ago)
Author:
Azaezel
Message:

simple primitives + a NULL workaround

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/branches/0185_GEN_PHYSICS_REFACTOR_2/ZBullet/src/CollisionShape.hpp

    r3349 r3361  
    6969 
    7070public: 
    71     /// @ For Internal Newton usage 
     71    /// @ For Internal Bullet usage 
    7272    /// @{ 
    7373    btCollisionShape* getShapePtr(); 
    7474    void setShapePtr(btCollisionShape* _shape); 
     75    void setIsNUllShape(bool _isnull){m_IsNUllFlaged = _isnull;}; 
     76    bool isNULLShape(){return m_IsNUllFlaged;}; 
    7577    /// @} 
    7678 
     
    103105    /// @{ 
    104106private: 
    105     btCollisionShape*                        m_shape; 
    106     wpPhysicsZone_type                     m_pZone; 
    107     Zen::Math::Real                                  m_scaleX, m_scaleY, m_scaleZ; 
    108     Scripting::I_ObjectReference*           m_pScriptObject; 
    109     std::string                             m_name; 
    110         Zen::Math::Real                                                 m_minStrikeLen; 
    111     unsigned                                m_activationState; 
    112         int                                                                             m_collisionGroup; 
    113  
    114         pOwningObject_type                      m_pOwner; 
     107    btCollisionShape*                   m_pShape; 
     108    wpPhysicsZone_type                  m_pZone; 
     109    Zen::Math::Real                     m_scaleX, m_scaleY, m_scaleZ; 
     110    Scripting::I_ObjectReference*       m_pScriptObject; 
     111    std::string                         m_name; 
     112    Zen::Math::Real                     m_minStrikeLen; 
     113    unsigned                            m_activationState; 
     114    int                                 m_collisionGroup; 
     115    bool                                m_IsNUllFlaged;     
     116    pOwningObject_type                  m_pOwner; 
    115117    /// @} 
    116118