angularEulerIntegrator.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Filename: angularEulerIntegrator.h
  2. // Created by: charles (09Aug00)
  3. //
  4. ////////////////////////////////////////////////////////////////////
  5. //
  6. // PANDA 3D SOFTWARE
  7. // Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
  8. //
  9. // All use of this software is subject to the terms of the Panda 3d
  10. // Software license. You should have received a copy of this license
  11. // along with this source code; you will also find a current copy of
  12. // the license at http://www.panda3d.org/license.txt .
  13. //
  14. // To contact the maintainers of this program write to
  15. // [email protected] .
  16. //
  17. ////////////////////////////////////////////////////////////////////
  18. #ifndef ANGULAREULERINTEGRATOR_H
  19. #define ANGULAREULERINTEGRATOR_H
  20. #include "angularIntegrator.h"
  21. ////////////////////////////////////////////////////////////////////
  22. // Class : AngularEulerIntegrator
  23. // Description : Performs Euler integration on a vector of
  24. // physically modelable objects given a quantum dt.
  25. ////////////////////////////////////////////////////////////////////
  26. class EXPCL_PANDAPHYSICS AngularEulerIntegrator : public AngularIntegrator {
  27. private:
  28. virtual void child_integrate(Physical *physical,
  29. pvector< PT(AngularForce) >& forces,
  30. float dt);
  31. PUBLISHED:
  32. AngularEulerIntegrator(void);
  33. virtual ~AngularEulerIntegrator(void);
  34. };
  35. #endif // EULERINTEGRATOR_H