/
stud_22-365
/
GLXEngine
Обзор
Документация
Войти
/
stud_22-365
/
GLXEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Examples/Demos/glslshaders/ProjectedTexture/fProjectTextureC.h
65 строк
2 KB
glscene
Update
18 сен 2024, 19:16
18 сен 2024, 19:16
5c21251
Код
Авторство
О чём код?
//--------------------------------------------------------------------------- #ifndef fProjectTextureCH #define fProjectTextureCH //--------------------------------------------------------------------------- #include <tchar.h> #include <System.Classes.hpp> #include <Vcl.Controls.hpp> #include <Vcl.StdCtrls.hpp> #include <Vcl.Forms.hpp> #include <Vcl.ExtCtrls.hpp> #include "GLS.BaseClasses.hpp" #include "GLS.Cadencer.hpp" #include "GLS.Coordinates.hpp" #include "GLS.GeomObjects.hpp" #include "GLS.Material.hpp" #include "GLS.Objects.hpp" #include "GLS.Scene.hpp" #include "GLSL.ProjectedTextures.hpp" #include "GLS.VectorFileObjects.hpp" #include "GLS.SceneViewer.hpp" //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE-managed Components TGLSceneViewer *GLSceneViewer1; TGLScene *GLScene1; TGLSLProjectedTextures *GLSLProjectedTextures1; TGLFreeForm *GLFreeForm1; TGLCube *GLCube1; TGLDummyCube *GLDummyCube3; TGLSLTextureEmitter *GLSLTextureEmitter2; TGLArrowLine *GLArrowLine1; TGLSLTextureEmitter *GLSLTextureEmitter1; TGLCamera *GLCamera1; TGLLightSource *GLLightSource2; TGLCadencer *GLCadencer1; TTimer *Timer1; TGLMaterialLibrary *GLMaterialLibrary1; void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime); void __fastcall GLCamera1CustomPerspective(const TRectangle &viewport, int width, int height, int DPI, float &viewPortRadius); void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X, int Y); void __fastcall FormMouseWheel(TObject *Sender, TShiftState Shift, int WheelDelta, TPoint &MousePos, bool &Handled); void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y); void __fastcall Timer1Timer(TObject *Sender); void __fastcall FormCreate(TObject *Sender); private: // User declarations int mx, my; int sdir; public: // User declarations __fastcall TForm1(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TForm1 *Form1; //--------------------------------------------------------------------------- #endif