15 #ifndef LINEARFRICTIONFORCE_H
16 #define LINEARFRICTIONFORCE_H
18 #include "linearForce.h"
30 INLINE
void set_coef(PN_stdfloat coef);
31 INLINE PN_stdfloat get_coef()
const;
33 virtual void output(ostream &out)
const;
34 virtual void write(ostream &out,
unsigned int indent=0)
const;
46 static void init_type() {
47 LinearForce::init_type();
48 register_type(_type_handle,
"LinearFrictionForce",
49 LinearForce::get_class_type());
52 return get_class_type();
54 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
60 #include "linearFrictionForce.I"
62 #endif // LINEARFRICTIONFORCE_H
Friction-based drag force.
virtual void write(ostream &out, unsigned int indent=0) const
Write a string representation of this instance to <out>.
A body on which physics will be applied.
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
A force that acts on a PhysicsObject by way of an Integrator.
virtual void output(ostream &out) const
Write a string representation of this instance to <out>.
TypeHandle is the identifier used to differentiate C++ class types.