Panda3D
 All Classes Functions Variables Enumerations
physicsCollisionHandler.I
1 // Filename: physicsCollisionHandler.I
2 // Created by: drose (16Mar02)
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 
16 INLINE void PhysicsCollisionHandler::
17 set_almost_stationary_speed(PN_stdfloat speed) {
18  _almost_stationary_speed = speed;
19 }
20 
21 INLINE PN_stdfloat PhysicsCollisionHandler::
22 get_almost_stationary_speed() {
23  return _almost_stationary_speed;
24 }
25 
26 INLINE void PhysicsCollisionHandler::
27 set_static_friction_coef(PN_stdfloat coef) {
28  _static_friction_coef = coef;
29 }
30 
31 INLINE PN_stdfloat PhysicsCollisionHandler::
32 get_static_friction_coef() {
33  return _static_friction_coef;
34 }
35 
36 INLINE void PhysicsCollisionHandler::
37 set_dynamic_friction_coef(PN_stdfloat coef) {
38  _dynamic_friction_coef = coef;
39 }
40 
41 INLINE PN_stdfloat PhysicsCollisionHandler::
42 get_dynamic_friction_coef() {
43  return _dynamic_friction_coef;
44 }
45 
46