fPhongC.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. //---------------------------------------------------------------------------
  2. #ifndef fPhongCH
  3. #define fPhongCH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include "GLS.AsyncTimer.hpp"
  10. #include "GLS.Cadencer.hpp"
  11. #include "GLS.Objects.hpp"
  12. #include "GLS.Scene.hpp"
  13. #include "GLS.GeomObjects.hpp"
  14. #include "GLS.Texture.hpp"
  15. #include "GLS.SceneViewer.hpp"
  16. #include "GLS.BaseClasses.hpp"
  17. #include "GLS.Coordinates.hpp"
  18. #include "GLSL.CustomShader.hpp"
  19. #include "GLS.Material.hpp"
  20. #include "GLSL.AsmShader.hpp"
  21. #include "GLSL.PhongShader.hpp"
  22. //---------------------------------------------------------------------------
  23. class TForm1 : public TForm
  24. {
  25. __published: // Composants gérés par l'EDI
  26. TGLSceneViewer *GLSceneViewer1;
  27. TCheckBox *CheckBox1;
  28. TGLScene *GLScene1;
  29. TGLDummyCube *GLDummyCube1;
  30. TGLCamera *GLCamera1;
  31. TGLLightSource *GLLightSource1;
  32. TGLTeapot *GLTeapot1;
  33. TGLMaterialLibrary *GLMaterialLibrary1;
  34. TGLPhongShader *GLPhongShader1;
  35. TGLCadencer *GLCadencer1;
  36. TGLAsyncTimer *AsyncTimer1;
  37. void __fastcall GLSceneViewer1MouseDown(TObject *Sender,
  38. TMouseButton Button, TShiftState Shift, int X, int Y);
  39. void __fastcall GLSceneViewer1MouseMove(TObject *Sender,
  40. TShiftState Shift, int X, int Y);
  41. void __fastcall AsyncTimer1Timer(TObject *Sender);
  42. void __fastcall CheckBox1Click(TObject *Sender);
  43. void __fastcall GLCadencer1Progress(TObject *Sender,
  44. const double deltaTime, const double newTime);
  45. private: // Déclarations de l'utilisateur
  46. public: // Déclarations de l'utilisateur
  47. __fastcall TForm1(TComponent* Owner);
  48. int mx, my;
  49. };
  50. //---------------------------------------------------------------------------
  51. extern PACKAGE TForm1 *Form1;
  52. //---------------------------------------------------------------------------
  53. #endif