16 TypeHandle LinearUserDefinedForce::_type_handle;
23 PN_stdfloat a,
bool md) :
56 LVector3 LinearUserDefinedForce::
67 out<<
"LinearUserDefinedForce";
77 out.width(
indent); out<<
""; out<<
"LinearUserDefinedForce:\n";
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A programmable force that takes an evaluator function.
A body on which physics will be applied.
virtual ~LinearUserDefinedForce()
destructor
A force that acts on a PhysicsObject by way of an Integrator.
virtual void write(std::ostream &out, int indent=0) const
Write a string representation of this instance to <out>.
LinearUserDefinedForce(LVector3(*proc)(const PhysicsObject *)=nullptr, PN_stdfloat a=1.0f, bool md=false)
constructor
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
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>.
TypeHandle is the identifier used to differentiate C++ class types.