OpenSimMirror/libraries/ode-0.9/contrib/DotNetManaged/Joint.cpp

36 lines
334 B
C++
Raw Normal View History

2007-10-19 05:24:38 +00:00
#include "StdAfx.h"
#include <ode/ode.h>
#include "joint.h"
#include "CommonMgd.h"
#include "world.h"
namespace ODEManaged
{
//Constructor
Joint::Joint(void)
{
_id=0;
}
//Destructor
Joint::~Joint(void)
{
dJointDestroy(this->_id);
}
//Methods
//Id
dJointID Joint::Id(void)
{
return _id;
}
}