14 #ifndef ANGULARVECTORFORCE_H 15 #define ANGULARVECTORFORCE_H 30 INLINE
void set_quat(
const LRotation& quat);
31 INLINE
void set_hpr(PN_stdfloat h, PN_stdfloat p, PN_stdfloat r);
32 INLINE LRotation get_local_quat()
const;
34 virtual void output(std::ostream &out)
const;
35 virtual void write(std::ostream &out,
int indent=0)
const;
47 static void init_type() {
48 AngularForce::init_type();
50 AngularForce::get_class_type());
53 return get_class_type();
55 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
63 #endif // ANGULARVECTORFORCE_H 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.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
a simple directed torque force, the angular equivalent of simple vector force.
virtual void output(std::ostream &out) const
Write a string representation of this instance to <out>.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.