Unit1.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  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.Collision.hpp"
  11. #include "GLS.Coordinates.hpp"
  12. #include "GLS.Objects.hpp"
  13. #include "GLS.Scene.hpp"
  14. #include "GLS.SceneViewer.hpp"
  15. #include <Vcl.ComCtrls.hpp>
  16. //---------------------------------------------------------------------------
  17. class TForm1 : public TForm
  18. {
  19. __published: // IDE-managed Components
  20. TGLSceneViewer *GLSceneViewer1;
  21. TTrackBar *TrackBar1;
  22. TButton *Button1;
  23. TGLScene *GLScene1;
  24. TGLLightSource *GLLightSource1;
  25. TGLDummyCube *DummyCube1;
  26. TGLSphere *Sphere1;
  27. TGLSphere *Sphere2;
  28. TGLCamera *GLCamera1;
  29. TGLCollisionManager *CollisionManager1;
  30. void __fastcall TrackBar1Change(TObject *Sender);
  31. void __fastcall Button1Click(TObject *Sender);
  32. void __fastcall CollisionManager1Collision(TObject *Sender, TGLBaseSceneObject *object1,
  33. TGLBaseSceneObject *object2);
  34. private: // User declarations
  35. public: // User declarations
  36. __fastcall TForm1(TComponent* Owner);
  37. };
  38. //---------------------------------------------------------------------------
  39. extern PACKAGE TForm1 *Form1;
  40. //---------------------------------------------------------------------------
  41. #endif