62LVector3 LinearSourceForce::
71output(std::ostream &out)
const {
73 out<<
"LinearSourceForce";
83 out.width(
indent); out<<
""; out<<
"LinearSourceForce:\n";
Pure virtual class for sinks and sources.
virtual void write(std::ostream &out, 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
LPoint3 get_force_center() const
force_center query
A force that acts on a PhysicsObject by way of an Integrator.
LinearSourceForce()
Simple constructor.
virtual ~LinearSourceForce()
Simple destructor.
virtual void write(std::ostream &out, int indent=0) const
Write a string representation of this instance to <out>.
virtual void output(std::ostream &out) const
Write a string representation of this instance to <out>.
A body on which physics will be applied.
get_position
Position Query.
TypeHandle is the identifier used to differentiate C++ class types.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.