14 #ifndef ANGULARFORCE_H 15 #define ANGULARFORCE_H 28 virtual bool is_linear()
const;
30 virtual void output(std::ostream &out)
const;
31 virtual void write(std::ostream &out,
int indent=0)
const;
38 virtual LRotation get_child_quat(
const PhysicsObject *po) = 0;
44 static void init_type() {
45 BaseForce::init_type();
47 BaseForce::get_class_type());
50 return get_class_type();
52 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
58 #endif // ANGULARFORCE_H 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(),...
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>.
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.
virtual void output(std::ostream &out) const
Write a string representation of this instance to <out>.