Panda3D
angularEulerIntegrator.h
1 // Filename: angularEulerIntegrator.h
2 // Created by: charles (09Aug00)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef ANGULAREULERINTEGRATOR_H
16 #define ANGULAREULERINTEGRATOR_H
17 
18 #include "angularIntegrator.h"
19 
20 ////////////////////////////////////////////////////////////////////
21 // Class : AngularEulerIntegrator
22 // Description : Performs Euler integration on a vector of
23 // physically modelable objects given a quantum dt.
24 ////////////////////////////////////////////////////////////////////
25 class EXPCL_PANDAPHYSICS AngularEulerIntegrator : public AngularIntegrator {
26 PUBLISHED:
28  virtual ~AngularEulerIntegrator();
29 
30  virtual void output(ostream &out) const;
31  virtual void write(ostream &out, unsigned int indent=0) const;
32 
33 private:
34  virtual void child_integrate(Physical *physical,
35  AngularForceVector& forces,
36  PN_stdfloat dt);
37 };
38 
39 #endif // EULERINTEGRATOR_H
Performs Euler integration on a vector of physically modelable objects given a quantum dt...
Defines a set of physically modeled attributes.
Definition: physical.h:40
Pure virtual base class for physical modeling.
virtual void output(ostream &out) const
Write a string representation of this instance to <out>.
virtual void write(ostream &out, unsigned int indent=0) const
Write a string representation of this instance to <out>.