Panda3D
 All Classes Functions Variables Enumerations
odeHashSpace.I
1 // Filename: odeHashSpace.I
2 // Created by: joswilso (27Dec06)
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 INLINE void OdeHashSpace::
16 set_levels(int minlevel, int maxlevel) {
17  dHashSpaceSetLevels(_id, minlevel, maxlevel);
18 }
19 
20 INLINE int OdeHashSpace::
21 get_min_level() const {
22  int min, max;
23  dHashSpaceGetLevels(_id, &min, &max);
24  return min;
25 }
26 
27 INLINE int OdeHashSpace::
28 get_max_level() const {
29  int min, max;
30  dHashSpaceGetLevels(_id, &min, &max);
31  return max;
32 }