fCullingC.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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 "GLS.Utils.hpp"
  23. //---------------------------------------------------------------------------
  24. class TForm1 : public TForm
  25. {
  26. __published:
  27. TGLSceneViewer *Viewer;
  28. TGLScene *GLScene;
  29. TGLLightSource *GLLightSource1;
  30. TGLDummyCube *DCTarget;
  31. TGLCamera *GLCamera1;
  32. TGLDummyCube *DCSpheres;
  33. TGLDummyCube *DCActors;
  34. TGLActor *ACReference;
  35. TGLCadencer *GLCadencer;
  36. TTimer *Timer1;
  37. TGLMaterialLibrary *GLMaterialLibrary;
  38. TPanel *Panel2;
  39. TLabel *Label1;
  40. TRadioButton *RBNone;
  41. TRadioButton *RBObject;
  42. TRadioButton *RBHierarchical;
  43. TLabel *Label2;
  44. TRadioButton *RBSpheres;
  45. TRadioButton *RBActors;
  46. TLabel *LabelFPS;
  47. void __fastcall RBSpheresClick(TObject *Sender);
  48. void __fastcall GLCadencerProgress(TObject *Sender,
  49. const double deltaTime, const double newTime);
  50. void __fastcall Timer1Timer(TObject *Sender);
  51. void __fastcall RBNoneClick(TObject *Sender);
  52. private: // Déclarations de l'utilisateur
  53. public: // Déclarations de l'utilisateur
  54. __fastcall TForm1(TComponent* Owner);
  55. };
  56. //---------------------------------------------------------------------------
  57. extern PACKAGE TForm1 *Form1;
  58. //---------------------------------------------------------------------------
  59. #endif