Panda3D
 All Classes Functions Variables Enumerations
bulletHelper.I
1 // Filename: bulletHelper.I
2 // Created by: enn0x (19Jan11)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 
16 ////////////////////////////////////////////////////////////////////
17 // Function: BulletHelper::get_sb_index
18 // Access: Published
19 // Description:
20 ////////////////////////////////////////////////////////////////////
21 INLINE PT(InternalName) BulletHelper::
22 get_sb_index() {
23 
24  if (_sb_index == (InternalName *)NULL) {
25  _sb_index = InternalName::make("sb_index");
26  }
27  return _sb_index;
28 }
29 
30 ////////////////////////////////////////////////////////////////////
31 // Function: BulletHelper::get_sb_flip
32 // Access: Published
33 // Description:
34 ////////////////////////////////////////////////////////////////////
35 INLINE PT(InternalName) BulletHelper::
36 get_sb_flip() {
37 
38  if (_sb_flip == (InternalName *)NULL) {
39  _sb_flip = InternalName::make("sb_flip");
40  }
41  return _sb_flip;
42 }