Panda3D
panda
src
bullet
bulletConeShape.I
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 bulletConeShape.I
10
* @author enn0x
11
* @date 2010-01-24
12
*/
13
14
/**
15
* Only used by make_from_bam.
16
*/
17
INLINE BulletConeShape::
18
BulletConeShape() :
19
_shape(nullptr),
20
_radius(0),
21
_height(0),
22
_up(X_up) {
23
}
24
25
/**
26
*
27
*/
28
INLINE BulletConeShape::
29
~BulletConeShape() {
30
31
delete
_shape;
32
}
33
34
/**
35
* Returns the radius that was passed into the constructor.
36
*/
37
INLINE PN_stdfloat BulletConeShape::
38
get_radius()
const
{
39
return
_radius;
40
}
41
42
/**
43
* Returns the height that was passed into the constructor.
44
*/
45
INLINE PN_stdfloat BulletConeShape::
46
get_height()
const
{
47
return
_height;
48
}
Generated on Wed Jan 23 2019 21:39:51 for Panda3D by
1.8.15