14 #ifndef BASEINTEGRATOR_H 15 #define BASEINTEGRATOR_H 36 typedef epvector<LMatrix4> MatrixVector;
43 virtual void output(std::ostream &out)
const;
44 virtual void write_precomputed_linear_matrices(std::ostream &out,
46 virtual void write_precomputed_angular_matrices(std::ostream &out,
48 virtual void write(std::ostream &out,
int indent=0)
const;
53 INLINE
const MatrixVector &get_precomputed_linear_matrices()
const;
54 INLINE
const MatrixVector &get_precomputed_angular_matrices()
const;
56 void precompute_linear_matrices(
Physical *physical,
58 void precompute_angular_matrices(
Physical *physical,
65 MatrixVector _precomputed_linear_matrices;
66 MatrixVector _precomputed_angular_matrices;
71 #endif // BASEINTEGRATOR_H PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A force that acts on a PhysicsObject by way of an Integrator.
This is our own Panda specialization on the default STL vector.
pure virtual integrator class that holds cached matrix information that really should be common to an...
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Defines a set of physically modeled attributes.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for all things that want to be reference-counted.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pure virtual parent of all quat-based forces.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.