/
stud_22-365
/
GLXEngine
Обзор
Документация
Войти
/
stud_22-365
/
GLXEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Examples/Demos/graph/splines/SplinesC.cpp
30 строк
1 KB
glscene
Updated cpp demos
25 ноя 2025, 19:42
25 ноя 2025, 19:42
92f90ea
Код
Авторство
О чём код?
/* This is a quick demo for the TGLLines object and spline functionality. TGLLines can handle normal lines and cubic splines, each node can have a different color, and the line can be color-interpolated. Note that the camera in this sample is in <i>orthogonal</i> mode, this makes for a quick and easy way to work in 2D with OpenGL (try switching the camera to perpective mode if you don't see the point). */ //--------------------------------------------------------------------------- #include <vcl.h> #pragma hdrstop USEFORM("f�Splines.cpp", FormSplines); //--------------------------------------------------------------------------- WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) { try { Application->Initialize(); Application->CreateForm(__classid(TFormSplines), &FormSplines); Application->Run(); } catch (Exception &exception) { Application->ShowException(&exception); } return 0; } //---------------------------------------------------------------------------