Panda3D
Loading...
Searching...
No Matches
bulletSoftBodyMaterial.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 bulletSoftBodyMaterial.I
10 * @author enn0x
11 * @date 2011-03-19
12 */
13
14/**
15 *
16 */
17INLINE BulletSoftBodyMaterial::
18~BulletSoftBodyMaterial() {
19
20}
21
22/**
23 * Named constructor intended to be used for asserts which have to return a
24 * concrete value.
25 */
27empty() {
28
29 static btSoftBody::Material material;
30
31 return BulletSoftBodyMaterial(material);
32}
33
34/**
35 *
36 */
37INLINE btSoftBody::Material &BulletSoftBodyMaterial::
38get_material() const {
39
40 return _material;
41}
static BulletSoftBodyMaterial empty()
Named constructor intended to be used for asserts which have to return a concrete value.