15 #ifndef LINEARRANDOMFORCE_H 16 #define LINEARRANDOMFORCE_H 20 #include "mathNumbers.h" 21 #include "linearForce.h" 31 virtual void output(ostream &out)
const;
32 virtual void write(ostream &out,
unsigned int indent=0)
const;
35 static PN_stdfloat bounded_rand();
36 static LVector3 random_unit_vector();
48 static void init_type() {
49 LinearForce::init_type();
50 register_type(_type_handle,
"LinearRandomForce",
51 LinearForce::get_class_type());
54 return get_class_type();
56 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
62 #include "linearRandomForce.I" 64 #endif // LINEARRANDOMFORCE_H Pure virtual, parent to noiseForce and jitterForce.
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 write(ostream &out, unsigned int indent=0) const
Write a string representation of this instance to <out>.
TypeHandle is the identifier used to differentiate C++ class types.
virtual void output(ostream &out) const
Write a string representation of this instance to <out>.