15 #include "linearUserDefinedForce.h" 17 TypeHandle LinearUserDefinedForce::_type_handle;
26 PN_stdfloat a,
bool md) :
81 out<<
"LinearUserDefinedForce";
92 write(ostream &out,
unsigned int indent)
const {
94 out.width(indent); out<<
""; out<<
"LinearUserDefinedForce:\n";
a programmable force that takes an evaluator fn.
A body on which physics will be applied.
virtual ~LinearUserDefinedForce()
destructor
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>.
virtual void output(ostream &out) const
Write a string representation of this instance to <out>.
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.
LinearUserDefinedForce(LVector3(*proc)(const PhysicsObject *)=NULL, PN_stdfloat a=1.0f, bool md=false)
constructor