eggVertexPointer.cxx 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /**
  2. * PANDA 3D SOFTWARE
  3. * Copyright (c) Carnegie Mellon University. All rights reserved.
  4. *
  5. * All use of this software is subject to the terms of the revised BSD
  6. * license. You should have received a copy of this license along
  7. * with this source code in a file named "LICENSE."
  8. *
  9. * @file eggVertexPointer.cxx
  10. * @author drose
  11. * @date 2001-02-26
  12. */
  13. #include "eggVertexPointer.h"
  14. TypeHandle EggVertexPointer::_type_handle;
  15. /**
  16. *
  17. */
  18. EggVertexPointer::
  19. EggVertexPointer(EggObject *egg_object) {
  20. }
  21. /**
  22. * Returns the number of frames of animation for this particular slider.
  23. */
  24. int EggVertexPointer::
  25. get_num_frames() const {
  26. return 0;
  27. }
  28. /**
  29. * Returns the value corresponding to this slider position in the nth frame.
  30. */
  31. double EggVertexPointer::
  32. get_frame(int n) const {
  33. nassertr(false, 0.0);
  34. return 0.0;
  35. }
  36. /**
  37. * Returns true if there are any vertices referenced by the node this points
  38. * to, false otherwise. For certain kinds of back pointers (e.g. table
  39. * animation entries), this is always false.
  40. */
  41. bool EggVertexPointer::
  42. has_vertices() const {
  43. return true;
  44. }