Panda3D

physicsCollisionHandler.I

00001 // Filename: physicsCollisionHandler.I
00002 // Created by:  drose (16Mar02)
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 
00016 INLINE void PhysicsCollisionHandler::
00017 set_almost_stationary_speed(PN_stdfloat speed) {
00018   _almost_stationary_speed = speed;
00019 }
00020 
00021 INLINE PN_stdfloat PhysicsCollisionHandler::
00022 get_almost_stationary_speed() {
00023   return _almost_stationary_speed;
00024 }
00025 
00026 INLINE void PhysicsCollisionHandler::
00027 set_static_friction_coef(PN_stdfloat coef) {
00028   _static_friction_coef = coef;
00029 }
00030 
00031 INLINE PN_stdfloat PhysicsCollisionHandler::
00032 get_static_friction_coef() {
00033   return _static_friction_coef;
00034 }
00035 
00036 INLINE void PhysicsCollisionHandler::
00037 set_dynamic_friction_coef(PN_stdfloat coef) {
00038   _dynamic_friction_coef = coef;
00039 }
00040 
00041 INLINE PN_stdfloat PhysicsCollisionHandler::
00042 get_dynamic_friction_coef() {
00043   return _dynamic_friction_coef;
00044 }
00045 
00046 
 All Classes Functions Variables Enumerations