Panda3D
|
00001 // Filename: odeHashSpace.I 00002 // Created by: joswilso (27Dec06) 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 INLINE void OdeHashSpace:: 00016 set_levels(int minlevel, int maxlevel) { 00017 dHashSpaceSetLevels(_id, minlevel, maxlevel); 00018 } 00019 00020 INLINE int OdeHashSpace:: 00021 get_min_level() const { 00022 int min, max; 00023 dHashSpaceGetLevels(_id, &min, &max); 00024 return min; 00025 } 00026 00027 INLINE int OdeHashSpace:: 00028 get_max_level() const { 00029 int min, max; 00030 dHashSpaceGetLevels(_id, &min, &max); 00031 return max; 00032 }