graphHashGenerator.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Filename: graphHashGenerator.h
  2. // Created by: drose (14May01)
  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 GRAPHHASHGENERATOR_H
  19. #define GRAPHHASHGENERATOR_H
  20. ////////////////////////////////////////////////////////////////////
  21. //
  22. // This file defines the typedef for GraphHashGenerator, which defines
  23. // the kind of HashGenerator used by all the NodeTransitions and
  24. // NodeAttributes. By changing this typedef we can change the
  25. // fundamental hash generation mechanism for these things, if
  26. // necessary.
  27. //
  28. // These hash codes are used to uniquify NodeTransitions, particularly
  29. // in the cull traverser, but only if the hashtable based extensions
  30. // to STL are available (e.g. <hash_map> and <hash_set>).
  31. //
  32. ////////////////////////////////////////////////////////////////////
  33. #include <checksumHashGenerator.h>
  34. typedef ChecksumHashGenerator GraphHashGenerator;
  35. #endif