2
0

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