46 LRotation v = get_child_quat(po);
64 out<<
"AngularForce (id "<<
this<<
")";
74 out.width(
indent); out<<
""; out<<
"AngularForce (id "<<
this<<
")\n";
virtual void write(std::ostream &out, int indent=0) const
Write a string representation of this instance to <out>.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A body on which physics will be applied.
virtual void output(std::ostream &out) const
Write a string representation of this instance to <out>.
pure virtual base class for all forces that could POSSIBLY exist.
virtual void write(std::ostream &out, int indent_level=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.
virtual ~AngularForce()
destructor
LRotation get_quat(const PhysicsObject *po)
access query
pure virtual parent of all quat-based forces.
virtual bool is_linear() const
access query
TypeHandle is the identifier used to differentiate C++ class types.