fCubeMapC.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. //---------------------------------------------------------------------------
  2. #ifndef fCubeMapCH
  3. #define fCubeMapCH
  4. //---------------------------------------------------------------------------
  5. #include <vcl.h>
  6. #include <tchar.h>
  7. //---------------------------------------------------------------------------
  8. #include <System.Classes.hpp>
  9. #include <Vcl.Controls.hpp>
  10. #include <Vcl.StdCtrls.hpp>
  11. #include <Vcl.Forms.hpp>
  12. #include "Jpeg.hpp"
  13. #include "GLS.BaseClasses.hpp"
  14. #include "GLS.Coordinates.hpp"
  15. #include "GLS.Objects.hpp"
  16. #include "GLS.Scene.hpp"
  17. #include "GLS.GeomObjects.hpp"
  18. #include "GLS.SceneViewer.hpp"
  19. #include "GLS.Color.hpp"
  20. #include "GLS.Context.hpp"
  21. #include "GLS.Texture.hpp"
  22. #include "GLS.FileDDS.hpp"
  23. #include "GLS.VectorFileObjects.hpp"
  24. //---------------------------------------------------------------------------
  25. class TForm1 : public TForm
  26. {
  27. __published: // IDE-managed Components
  28. TGLSceneViewer* GLSceneViewer1;
  29. TButton* btnApply;
  30. TGLScene* GLScene1;
  31. TGLDummyCube* DummyCube1;
  32. TGLLightSource* GLLightSource1;
  33. TGLTeapot* Teapot1;
  34. TGLCamera* GLCamera1;
  35. TGLPlane* Plane1;
  36. void __fastcall GLSceneViewer1BeforeRender(TObject* Sender);
  37. void __fastcall btnApplyClick(TObject* Sender);
  38. void __fastcall GLSceneViewer1MouseDown(
  39. TObject* Sender, TMouseButton Button, TShiftState Shift, int X, int Y);
  40. void __fastcall GLSceneViewer1MouseMove(
  41. TObject* Sender, TShiftState Shift, int X, int Y);
  42. void __fastcall FormMouseWheel(TObject* Sender, TShiftState Shift,
  43. int WheelDelta, TPoint &MousePos, bool &Handled);
  44. void __fastcall FormCreate(TObject* Sender);
  45. private: // User declarations
  46. int mx, my;
  47. bool CubmapSupported;
  48. public: // User declarations
  49. __fastcall TForm1(TComponent* Owner);
  50. };
  51. //---------------------------------------------------------------------------
  52. extern PACKAGE TForm1* Form1;
  53. //---------------------------------------------------------------------------
  54. #endif