repo.or.cz
/
ode.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed: Initializetion and finalization of demo_plane2 has been fixed
[ode.git]
/
contrib
/
DotNetManaged
/
Joint.cpp
blob
e2d8de697d1bcd91c5a54cec9c4947eae64e5990
1
#include
"StdAfx.h"
2
3
#include <ode/ode.h>
4
#include
"joint.h"
5
#include
"CommonMgd.h"
6
#include
"world.h"
7
8
namespace
ODEManaged
9
{
10
11
//Constructor
12
13
Joint
::
Joint
(
void
)
14
{
15
_id
=
0
;
16
}
17
18
19
//Destructor
20
21
Joint
::~
Joint
(
void
)
22
{
23
dJointDestroy
(
this
->
_id
);
24
}
25
26
27
//Methods
28
29
//Id
30
dJointID
Joint
::
Id
(
void
)
31
{
32
return
_id
;
33
}
34
35
}