/
daria_bel
/
VRLabs
Обзор
Документация
Войти
/
daria_bel
/
VRLabs
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Lab3_CubeMap/fTexturing.h
45 строк
2 KB
glscene
Included ArenaVR
21 окт 2025, 19:30
21 окт 2025, 19:30
c27c76a
Код
Авторство
О чём код?
//------------------------------------------------------------------------- #ifndef fTexturingH #define fTexturingH #define size_mas 6 //--------------------------------------------------------------------------- #include <System.Classes.hpp> #include <Vcl.Controls.hpp> #include <Vcl.StdCtrls.hpp> #include <Vcl.Forms.hpp> #include "GLS.BaseClasses.hpp" #include "GLS.Coordinates.hpp" #include "GLS.GeomObjects.hpp" #include "GLS.Scene.hpp" #include "GLS.SceneViewer.hpp" #include <Vcl.Dialogs.hpp> #include "GLS.Objects.hpp" //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE-managed Components TGLScene *GLScene1; TGLSceneViewer *GLSceneViewer1; TGLCamera *GLCamera1; TGLLightSource *GLLightSource1; TOpenDialog *OpenDialog1; TButton *Button1; TGLDummyCube *GLDummyCube1; TGLTeapot *GLTeapot1; void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y); void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X, int Y); void __fastcall GLSceneViewer1MouseWheel(TObject *Sender, TShiftState Shift, int WheelDelta, TPoint &MousePos, bool &Handled); void __fastcall Button1Click(TObject *Sender); private: // User declarations int mx, my; public: // User declarations __fastcall TForm1(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TForm1 *Form1; //--------------------------------------------------------------------------- #endif