fcCubemap.cpp 833 B

123456789101112131415161718192021222324
  1. //---------------------------------------------------------------------------
  2. #include <fmx.h>
  3. #pragma hdrstop
  4. #include "fcCubemap.h"
  5. //---------------------------------------------------------------------------
  6. #pragma package(smart_init)
  7. #pragma link "GBE.Cubemap"
  8. #pragma resource "*.fmx"
  9. TFormCubemap *FormCubemap;
  10. //---------------------------------------------------------------------------
  11. __fastcall TFormCubemap::TFormCubemap(TComponent* Owner)
  12. : TForm(Owner)
  13. {
  14. }
  15. //---------------------------------------------------------------------------
  16. void __fastcall TFormCubemap::FloatAnimation1Process(TObject *Sender)
  17. {
  18. Camera1->RotationAngle->X = Camera1->RotationAngle->X + 0.1;
  19. Camera1->RotationAngle->Y = Camera1->RotationAngle->Y + 0.2;
  20. }
  21. //---------------------------------------------------------------------------