32 _fvec.set_hpr(LVecBase3(h, p, r));
62 LRotation AngularVectorForce::
73 out<<
"AngularVectorForce";
83 out.width(
indent); out<<
""; out<<
"AngularVectorForce:\n";
84 out.width(
indent+2); out<<
""; out<<
"_fvec "<<_fvec<<
"\n";
virtual void write(std::ostream &out, int indent=0) const
Write a string representation of this instance to <out>.
virtual void write(std::ostream &out, int indent=0) const
Write a string representation of this instance to <out>.
virtual ~AngularVectorForce()
destructor
AngularVectorForce(const LRotation &quat)
constructor
A body on which physics will be applied.
a simple directed torque force, the angular equivalent of simple vector force.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
virtual void output(std::ostream &out) 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.
pure virtual parent of all quat-based forces.
TypeHandle is the identifier used to differentiate C++ class types.