2
0

Joint.cpp 334 B

1234567891011121314151617181920212223242526272829303132333435
  1. #include "StdAfx.h"
  2. #include <ode/ode.h>
  3. #include "joint.h"
  4. #include "CommonMgd.h"
  5. #include "world.h"
  6. namespace ODEManaged
  7. {
  8. //Constructor
  9. Joint::Joint(void)
  10. {
  11. _id=0;
  12. }
  13. //Destructor
  14. Joint::~Joint(void)
  15. {
  16. dJointDestroy(this->_id);
  17. }
  18. //Methods
  19. //Id
  20. dJointID Joint::Id(void)
  21. {
  22. return _id;
  23. }
  24. }