2
0

GLS.Polyhedra.pas 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. //
  2. // The graphics engine GLScene
  3. //
  4. unit GLS.Polyhedra;
  5. (*
  6. Polyhedra support.
  7. The polyhedra are subclasses of polygon structures.
  8. The registered classes are:
  9. [TGLPolyTet, TGLPolyOct, TGLPolyHec, TGLPolyIso, TGLPolyDod, TGLPolyhedron, TGLPolyhedra]
  10. *)
  11. interface
  12. {$I Stage.Defines.inc}
  13. uses
  14. Winapi.OpenGL,
  15. Winapi.OpenGLext,
  16. System.Classes,
  17. System.SysUtils,
  18. System.Types,
  19. System.Math,
  20. VCL.Consts,
  21. Stage.OpenGLTokens,
  22. Stage.VectorTypes,
  23. Stage.VectorTypesExt,
  24. Stage.TextureFormat,
  25. Stage.VectorGeometry,
  26. GLS.Scene,
  27. GLS.BaseClasses,
  28. GLS.Objects,
  29. GLS.GeomObjects,
  30. GLS.Portal,
  31. GLS.VectorLists,
  32. GLS.PersistentClasses,
  33. GLS.Silhouette,
  34. Stage.Strings,
  35. GLS.Texture,
  36. GLS.Material,
  37. GLS.Mesh,
  38. Stage.Logger,
  39. GLS.Octree,
  40. GLS.GeometryBB,
  41. GLS.ApplicationFileIO,
  42. GLS.Context,
  43. GLS.Color;
  44. type
  45. (*
  46. A PolyTet object that handles polygyns for tetrahedron
  47. *)
  48. TGLPolyTet = class(TGLPolygon)
  49. public
  50. constructor CreateOwned(AOwner: TGLPolygon);
  51. destructor Destroy; override;
  52. end;
  53. implementation
  54. { TGLPolyTet }
  55. constructor TGLPolyTet.CreateOwned(AOwner: TGLPolygon);
  56. begin
  57. //
  58. end;
  59. destructor TGLPolyTet.Destroy;
  60. begin
  61. //
  62. inherited;
  63. end;
  64. end.