15 #include "linearSourceForce.h"
89 out<<
"LinearSourceForce";
100 write(ostream &out,
unsigned int indent)
const {
102 out.width(indent); out<<
""; out<<
"LinearSourceForce:\n";
LPoint3 get_position() const
Position Query.
virtual void write(ostream &out, unsigned int indent=0) const
Write a string representation of this instance to <out>.
LPoint3 get_force_center() const
force_center query
A body on which physics will be applied.
Pure virtual class for sinks and sources.
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
This is a three-component point in space (as opposed to a three-component vector, 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>.
PN_stdfloat get_scalar_term() const
calculate the term based on falloff
LinearSourceForce()
Simple constructor.
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.
virtual ~LinearSourceForce()
Simple destructor.