Panda3D
Loading...
Searching...
No Matches
bulletHeightfieldShape.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 bulletHeightfieldShape.I
10 * @author enn0x
11 * @date 2010-02-05
12 */
13
14/**
15 * Only used by make_from_bam
16 */
17INLINE BulletHeightfieldShape::
18BulletHeightfieldShape() :
19 _num_rows(0),
20 _num_cols(0),
21 _data(nullptr),
22 _shape(nullptr),
23 _max_height(0.0),
24 _up(Z_up) {
25}
26
27/**
28 *
29 */
30INLINE BulletHeightfieldShape::
31~BulletHeightfieldShape() {
32 delete _shape;
33 delete [] _data;
34}