68 LVector3 LinearVectorForce::
79 out<<
"LinearVectorForce";
89 out.width(
indent); out<<
""; out<<
"LinearVectorForce:\n";
90 out.width(
indent+2); out<<
""; out<<
"_fvec "<<_fvec<<
"\n";
Simple directed vector force.
virtual ~LinearVectorForce()
Destructor.
A body on which physics will be applied.
LinearVectorForce(const LVector3 &vec, PN_stdfloat a=1.0f, bool mass=false)
Vector Constructor.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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>.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual void write(std::ostream &out, int indent=0) const
Write a string representation of this instance to <out>.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual void output(std::ostream &out) const
Write a string representation of this instance to <out>.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.