fSkyBoxC.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. //---------------------------------------------------------------------------
  2. #ifndef fSkyBoxCH
  3. #define fSkyBoxCH
  4. //---------------------------------------------------------------------------
  5. #include <System.Classes.hpp>
  6. #include <Vcl.Controls.hpp>
  7. #include <Vcl.StdCtrls.hpp>
  8. #include <Vcl.Forms.hpp>
  9. #include "GLS.BaseClasses.hpp"
  10. #include "GLS.Cadencer.hpp"
  11. #include "GLS.Coordinates.hpp"
  12. #include "GLS.LensFlare.hpp"
  13. #include "GLS.Material.hpp"
  14. #include "GLS.Navigator.hpp"
  15. #include "GLS.Objects.hpp"
  16. #include "GLS.Scene.hpp"
  17. #include "GLS.SimpleNavigation.hpp"
  18. #include "GLS.SkyDome.hpp"
  19. #include "GLS.SceneViewer.hpp"
  20. #include "GLS.Keyboard.hpp"
  21. #include "JPeg.hpp"
  22. #include "GLS.FileJPEG.hpp"
  23. #include "GLS.Utils.hpp"
  24. //---------------------------------------------------------------------------
  25. class TForm1 : public TForm
  26. {
  27. __published: // IDE-managed Components
  28. TGLSceneViewer *GLSceneViewer1;
  29. TGLScene *GLScene1;
  30. TGLSkyBox *GLSkyBox1;
  31. TGLSphere *GLSphere1;
  32. TGLSphere *GLSphere2;
  33. TGLSkyBox *GLSkyBox2;
  34. TGLDummyCube *Castle;
  35. TGLCube *GLCube1;
  36. TGLCube *GLCube2;
  37. TGLCube *GLCube11;
  38. TGLCube *GLCube21;
  39. TGLCube *GLCube111;
  40. TGLCube *GLCube211;
  41. TGLCube *GLCube112;
  42. TGLCube *GLCube212;
  43. TGLLightSource *GLLightSource1;
  44. TGLLensFlare *GLLensFlare1;
  45. TGLCamera *GLCamera1;
  46. TGLMaterialLibrary *GLMaterialLibrary1;
  47. TGLNavigator *GLNavigator1;
  48. TGLCadencer *GLCadencer1;
  49. TGLUserInterface *GLUserInterface1;
  50. TGLSimpleNavigation *GLSimpleNavigation1;
  51. void __fastcall FormCreate(TObject *Sender);
  52. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  53. private: // User declarations
  54. int mx, my;
  55. void __fastcall HandleKeys(double d);
  56. TGLLibMaterial* __fastcall LoadTexture(String Matname, String Filename);
  57. public: // User declarations
  58. __fastcall TForm1(TComponent* Owner);
  59. };
  60. //---------------------------------------------------------------------------
  61. extern PACKAGE TForm1 *Form1;
  62. //---------------------------------------------------------------------------
  63. #endif