plane.h 962 B

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 plane.h
  10. * @author mike
  11. * @date 1997-01-09
  12. */
  13. #ifndef PLANE_H
  14. #define PLANE_H
  15. #include "pandabase.h"
  16. #include "luse.h"
  17. #include "indent.h"
  18. #include "nearly_zero.h"
  19. #include "cmath.h"
  20. #include "parabola.h"
  21. class Datagram;
  22. class DatagramIterator;
  23. #include "fltnames.h"
  24. #include "plane_src.h"
  25. #include "dblnames.h"
  26. #include "plane_src.h"
  27. #ifndef STDFLOAT_DOUBLE
  28. typedef LPlanef LPlane;
  29. #else
  30. typedef LPlaned LPlane;
  31. #endif
  32. // Bogus typedefs for interrogate and legacy Python code.
  33. #ifdef CPPPARSER
  34. typedef LPlanef PlaneF;
  35. typedef LPlaned PlaneD;
  36. #ifndef STDFLOAT_DOUBLE
  37. typedef LPlanef Plane;
  38. #else
  39. typedef LPlaned Plane;
  40. #endif
  41. #endif // CPPPARSER
  42. #endif