light/modules/mirror/private/entrypoint/mirror.cpp
light7734 cd886aa8c9
Some checks reported errors
continuous-integration/drone/push Build was killed
refactor: flatten directory structure
2025-07-20 04:46:15 +03:30

32 lines
604 B
C++

#include <app/application.hpp>
#include <app/entrypoint.hpp>
#include <app/layer_stack.hpp>
#include <math/vec2.hpp>
#include <mirror/layers/editor_layer.hpp>
#include <window/window.hpp>
namespace lt {
class Mirror: public Application
{
public:
Mirror()
{
get_window().set_properties(
Window::Properties {
.title = "Mirror",
.size = math::uvec2(1280u, 720u),
.vsync = true,
}
);
get_layer_stack().emplace_layer<EditorLayer>("MirrorLayer");
}
};
auto create_application() -> Scope<Application>
{
return create_scope<Mirror>();
}
} // namespace lt