movingPartMatrix.I 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // Filename: movingPartMatrix.I
  2. // Created by: drose (23Feb99)
  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. // Function: MovingPartMatrix::Copy Constructor
  16. // Access: Protected
  17. // Description: Normally, you'd use make_copy() or copy_subgraph() to
  18. // make a copy of this.
  19. ////////////////////////////////////////////////////////////////////
  20. INLINE MovingPartMatrix::
  21. MovingPartMatrix(const MovingPartMatrix &copy) :
  22. MovingPart<ACMatrixSwitchType>(copy)
  23. {
  24. }
  25. ////////////////////////////////////////////////////////////////////
  26. // Function: MovingPartMatrix::Constructor
  27. // Access: Public
  28. // Description:
  29. ////////////////////////////////////////////////////////////////////
  30. INLINE MovingPartMatrix::
  31. MovingPartMatrix(PartGroup *parent, const string &name,
  32. const LMatrix4f &default_value)
  33. : MovingPart<ACMatrixSwitchType>(parent, name, default_value) {
  34. }
  35. ////////////////////////////////////////////////////////////////////
  36. // Function: MovingPartMatrix::Constructor
  37. // Access: Protected
  38. // Description:
  39. ////////////////////////////////////////////////////////////////////
  40. INLINE MovingPartMatrix::
  41. MovingPartMatrix() {
  42. }