~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to source/gameengine/Physics/common/PHY_IPhysicsController.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
class PHY_IPhysicsEnvironment;
39
39
 
40
40
/**
41
 
        PHY_IPhysicsController is the abstract simplified Interface to a physical object.
42
 
        It contains the IMotionState and IDeformableMesh Interfaces.
43
 
*/
 
41
 * PHY_IPhysicsController is the abstract simplified Interface to a physical object.
 
42
 * It contains the IMotionState and IDeformableMesh Interfaces.
 
43
 */
44
44
class PHY_IPhysicsController : public PHY_IController
45
45
{
46
46
 
47
47
        public:
48
48
                virtual ~PHY_IPhysicsController();
49
49
                /**
50
 
                        SynchronizeMotionStates ynchronizes dynas, kinematic and deformable entities (and do 'late binding')
51
 
                */
 
50
                 * SynchronizeMotionStates ynchronizes dynas, kinematic and deformable entities (and do 'late binding')
 
51
                 */
52
52
                virtual bool            SynchronizeMotionStates(float time)=0;
53
53
                /**
54
 
                        WriteMotionStateToDynamics ynchronizes dynas, kinematic and deformable entities (and do 'late binding')
55
 
                */
 
54
                 * WriteMotionStateToDynamics ynchronizes dynas, kinematic and deformable entities (and do 'late binding')
 
55
                 */
56
56
                
57
57
                virtual void            WriteMotionStateToDynamics(bool nondynaonly)=0;
58
58
                virtual void            WriteDynamicsToMotionState()=0;
102
102
                
103
103
                PHY__Vector3    GetWorldPosition(PHY__Vector3& localpos);
104
104
 
 
105
 
105
106
#ifdef WITH_CXX_GUARDEDALLOC
106
 
public:
107
 
        void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:PHY_IPhysicsController"); }
108
 
        void operator delete( void *mem ) { MEM_freeN(mem); }
 
107
        MEM_CXX_CLASS_ALLOC_FUNCS("GE:PHY_IPhysicsController")
109
108
#endif
110
109
};
111
110
 
112
 
#endif //__PHY_IPHYSICSCONTROLLER_H__
113
 
 
 
111
#endif  /* __PHY_IPHYSICSCONTROLLER_H__ */