Panda3D
odeHashSpace.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 odeHashSpace.I
10  * @author joswilso
11  * @date 2006-12-27
12  */
13 
14 INLINE void OdeHashSpace::
15 set_levels(int minlevel, int maxlevel) {
16  dHashSpaceSetLevels(_id, minlevel, maxlevel);
17 }
18 
19 INLINE int OdeHashSpace::
20 get_min_level() const {
21  int min, max;
22  dHashSpaceGetLevels(_id, &min, &max);
23  return min;
24 }
25 
26 INLINE int OdeHashSpace::
27 get_max_level() const {
28  int min, max;
29  dHashSpaceGetLevels(_id, &min, &max);
30  return max;
31 }