Adding new gui to Sketch3d

This commit is contained in:
IlyaShurupov 2024-03-18 14:37:39 +03:00 committed by Ilya Shurupov
parent 8eae09591d
commit e0f92b32dc
6 changed files with 134 additions and 10 deletions

View file

@ -13,7 +13,7 @@ void runApp() {
auto window = tp::Window::createWindow(800, 600, "Window 1");
{
tp::Sketch3DWidget<tp::Window::Events, tp::Graphics::Canvas> gui(window->getCanvas(), {1800, 1000});
tp::Sketch3DGUI<tp::Window::Events, tp::Graphics::Canvas> gui(window->getCanvas(), {1920, 1080});
if (window) {
while (!window->shouldClose()) {
@ -47,5 +47,7 @@ int main() {
runApp();
// FIXME : leaks in stacktrace itself
binModule.deinitialize();
}