aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/contrib/DotNetManaged/Joint.cpp
blob: e2d8de697d1bcd91c5a54cec9c4947eae64e5990 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#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;
		}

}