Panda3D
bulletVehicle.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 bulletVehicle.I
10  * @author enn0x
11  * @date 2010-02-16
12  */
13 
14 /**
15  *
16  */
17 INLINE BulletVehicle::
18 ~BulletVehicle() {
19 
20  delete _vehicle;
21  delete _raycaster;
22 }
23 
24 /**
25  *
26  */
27 btRaycastVehicle *BulletVehicle::
28 get_vehicle() const {
29 
30  return _vehicle;
31 }
32 
33 /**
34  * Returns a reference to the BulletVehicleTuning object of this vehicle which
35  * offers various vehicle-global tuning options. Make sure to configure this
36  * before adding wheels!
37  */
38 BulletVehicleTuning &BulletVehicle::
39 get_tuning() {
40 
41  return _tuning;
42 }
43