Panda3D
bulletHelper.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 bulletHelper.I
10  * @author enn0x
11  * @date 2011-01-19
12  */
13 
14 /**
15  *
16  */
17 INLINE PT(InternalName) BulletHelper::
18 get_sb_index() {
19 
20  if (_sb_index == nullptr) {
21  _sb_index = InternalName::make("sb_index");
22  }
23  return _sb_index;
24 }
25 
26 /**
27  *
28  */
29 INLINE PT(InternalName) BulletHelper::
30 get_sb_flip() {
31 
32  if (_sb_flip == nullptr) {
33  _sb_flip = InternalName::make("sb_flip");
34  }
35  return _sb_flip;
36 }
Encodes a string name in a hash table, mapping it to a pointer.
Definition: internalName.h:38
PT(InternalName) BulletHelper
Make using a string and an integer.
Definition: bulletHelper.I:17