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

« back to all changes in this revision

Viewing changes to source/gameengine/Physics/common/PHY_IGraphicController.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:
36
36
 
37
37
 
38
38
/**
39
 
        PHY_IPhysicsController is the abstract simplified Interface to a physical object.
40
 
        It contains the IMotionState and IDeformableMesh Interfaces.
41
 
*/
 
39
 * PHY_IPhysicsController is the abstract simplified Interface to a physical object.
 
40
 * It contains the IMotionState and IDeformableMesh Interfaces.
 
41
 */
42
42
class PHY_IGraphicController : public PHY_IController
43
43
{
44
44
        public:
45
45
                virtual ~PHY_IGraphicController();
46
46
                /**
47
 
                        SynchronizeMotionStates ynchronizes dynas, kinematic and deformable entities (and do 'late binding')
48
 
                */
 
47
                 * SynchronizeMotionStates ynchronizes dynas, kinematic and deformable entities (and do 'late binding')
 
48
                 */
49
49
                virtual bool SetGraphicTransform()=0;
50
50
                virtual void Activate(bool active=true)=0;
51
51
                virtual void setLocalAabb(const PHY__Vector3& aabbMin,const PHY__Vector3& aabbMax)=0;
54
54
                virtual PHY_IGraphicController* GetReplica(class PHY_IMotionState* motionstate) {return 0;}
55
55
 
56
56
#ifdef WITH_CXX_GUARDEDALLOC
57
 
        void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:PHY_IController"); }
58
 
        void operator delete( void *mem ) { MEM_freeN(mem); }
 
57
        MEM_CXX_CLASS_ALLOC_FUNCS("GE:PHY_IController")
59
58
#endif
60
59
};
61
60
 
62
 
#endif //__PHY_IGRAPHICCONTROLLER_H__
63
 
 
 
61
#endif  /* __PHY_IGRAPHICCONTROLLER_H__ */