Panda3D
physicsCollisionHandler.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 physicsCollisionHandler.I
10  * @author drose
11  * @date 2002-03-16
12  */
13 
14 INLINE void PhysicsCollisionHandler::
15 set_almost_stationary_speed(PN_stdfloat speed) {
16  _almost_stationary_speed = speed;
17 }
18 
19 INLINE PN_stdfloat PhysicsCollisionHandler::
20 get_almost_stationary_speed() {
21  return _almost_stationary_speed;
22 }
23 
24 INLINE void PhysicsCollisionHandler::
25 set_static_friction_coef(PN_stdfloat coef) {
26  _static_friction_coef = coef;
27 }
28 
29 INLINE PN_stdfloat PhysicsCollisionHandler::
30 get_static_friction_coef() {
31  return _static_friction_coef;
32 }
33 
34 INLINE void PhysicsCollisionHandler::
35 set_dynamic_friction_coef(PN_stdfloat coef) {
36  _dynamic_friction_coef = coef;
37 }
38 
39 INLINE PN_stdfloat PhysicsCollisionHandler::
40 get_dynamic_friction_coef() {
41  return _dynamic_friction_coef;
42 }