00001 // Filename: bulletHelper.I 00002 // Created by: enn0x (19Jan11) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 00016 //////////////////////////////////////////////////////////////////// 00017 // Function: BulletHelper::get_sb_index 00018 // Access: Published 00019 // Description: 00020 //////////////////////////////////////////////////////////////////// 00021 INLINE PT(InternalName) BulletHelper:: 00022 get_sb_index() { 00023 00024 if (_sb_index == (InternalName *)NULL) { 00025 _sb_index = InternalName::make("sb_index"); 00026 } 00027 return _sb_index; 00028 } 00029 00030 //////////////////////////////////////////////////////////////////// 00031 // Function: BulletHelper::get_sb_flip 00032 // Access: Published 00033 // Description: 00034 //////////////////////////////////////////////////////////////////// 00035 INLINE PT(InternalName) BulletHelper:: 00036 get_sb_flip() { 00037 00038 if (_sb_flip == (InternalName *)NULL) { 00039 _sb_flip = InternalName::make("sb_flip"); 00040 } 00041 return _sb_flip; 00042 }