fCullingC.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. //---------------------------------------------------------------------------
  2. #ifndef fCullingCH
  3. #define fCullingCH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <ExtCtrls.hpp>
  10. #include "GLS.Cadencer.hpp"
  11. #include "GLS.Objects.hpp"
  12. #include "GLS.Scene.hpp"
  13. #include "GLS.Texture.hpp"
  14. #include "GLS.VectorFileObjects.hpp"
  15. #include "GLS.SceneViewer.hpp"
  16. #include "GLS.BaseClasses.hpp"
  17. #include "GLS.Coordinates.hpp"
  18. #include "GLS.Material.hpp"
  19. #include "GLS.FileMD2.hpp"
  20. #include <Jpeg.hpp>
  21. #include "GLS.FileMD2.hpp"
  22. #include "Stage.Utils.hpp"
  23. #include "GLS.SimpleNavigation.hpp"
  24. //---------------------------------------------------------------------------
  25. class TForm1 : public TForm
  26. {
  27. __published:
  28. TGLSceneViewer* Viewer;
  29. TGLScene* GLScene;
  30. TGLLightSource* GLLightSource1;
  31. TGLDummyCube* DCTarget;
  32. TGLCamera* GLCamera1;
  33. TGLDummyCube* DCSpheres;
  34. TGLDummyCube* DCActors;
  35. TGLActor* ACReference;
  36. TGLCadencer* GLCadencer;
  37. TTimer* Timer1;
  38. TGLMaterialLibrary* GLMaterialLibrary;
  39. TPanel* Panel2;
  40. TLabel* Label1;
  41. TRadioButton* RBNone;
  42. TRadioButton* RBObject;
  43. TRadioButton* RBHierarchical;
  44. TLabel* Label2;
  45. TRadioButton* RBSpheres;
  46. TRadioButton* RBActors;
  47. TLabel* LabelFPS;
  48. TGLSimpleNavigation *GLSimpleNavigation1;
  49. void __fastcall RBSpheresClick(TObject* Sender);
  50. void __fastcall GLCadencerProgress(
  51. TObject* Sender, const double deltaTime, const double newTime);
  52. void __fastcall Timer1Timer(TObject* Sender);
  53. void __fastcall RBNoneClick(TObject* Sender);
  54. private: // Déclarations de l'utilisateur
  55. public: // Déclarations de l'utilisateur
  56. __fastcall TForm1(TComponent* Owner);
  57. };
  58. //---------------------------------------------------------------------------
  59. extern PACKAGE TForm1* Form1;
  60. //---------------------------------------------------------------------------
  61. #endif