Panda3D
Loading...
Searching...
No Matches
bulletMinkowskiSumShape.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 bulletMinkowskiSumShape.I
10 * @author enn0x
11 * @date 2010-01-23
12 */
13
14/**
15 * Only used by make_from_bam.
16 */
17INLINE BulletMinkowskiSumShape::
18BulletMinkowskiSumShape() :
19 _shape(nullptr),
20 _shape_a(nullptr),
21 _shape_b(nullptr) {
22}
23
24/**
25 *
26 */
27INLINE BulletMinkowskiSumShape::
28~BulletMinkowskiSumShape() {
29
30 delete _shape;
31}
32
33/**
34 *
35 */
36INLINE const BulletShape *BulletMinkowskiSumShape::
37get_shape_a() const {
38
39 return _shape_a;
40}
41
42/**
43 *
44 */
45INLINE const BulletShape *BulletMinkowskiSumShape::
46get_shape_b() const {
47
48 return _shape_b;
49}