Panda3D
panda
src
ode
odeCylinderGeom.cxx
Go to the documentation of this file.
1
/**
2
* PANDA 3D SOFTWARE
3
* Copyright (c) Carnegie Mellon University. All rights reserved.
4
*
5
* All use of this software is subject to the terms of the revised BSD
6
* license. You should have received a copy of this license along
7
* with this source code in a file named "LICENSE."
8
*
9
* @file odeCylinderGeom.cxx
10
* @author joswilso
11
* @date 2006-12-27
12
*/
13
14
#include "
config_ode.h
"
15
#include "
odeCylinderGeom.h
"
16
17
TypeHandle
OdeCylinderGeom::_type_handle;
18
19
OdeCylinderGeom::
20
OdeCylinderGeom(dGeomID
id
) :
21
OdeGeom
(id) {
22
}
23
24
OdeCylinderGeom::
25
OdeCylinderGeom(dReal radius, dReal length) :
26
OdeGeom
(dCreateCylinder(nullptr, radius, length)) {
27
}
28
29
OdeCylinderGeom::
30
OdeCylinderGeom(
OdeSpace
&space, dReal radius, dReal length) :
31
OdeGeom
(dCreateCylinder(space.
get_id
(), radius, length)) {
32
}
33
34
OdeCylinderGeom::
35
~OdeCylinderGeom() {
36
}
OdeGeom::get_id
dGeomID get_id() const
Returns the underlying dGeomID.
Definition:
odeGeom.I:28
OdeSpace
Definition:
odeSpace.h:37
odeCylinderGeom.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle
TypeHandle is the identifier used to differentiate C++ class types.
Definition:
typeHandle.h:81
config_ode.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
OdeGeom
Definition:
odeGeom.h:45
Generated on Mon Sep 14 2020 15:06:58 for Panda3D by
1.8.20