2025-07-05 13:28:41 +03:30
|
|
|
#define LIGHT_ENTRY_POINT
|
|
|
|
|
|
|
|
//
|
|
|
|
#include <mirror/editor_layer.hpp>
|
|
|
|
|
|
|
|
//
|
|
|
|
#include <engine/engine.hpp>
|
|
|
|
|
|
|
|
namespace Light {
|
|
|
|
|
|
|
|
class Mirror: public Light::Application
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Mirror()
|
|
|
|
{
|
|
|
|
// Set window properties
|
|
|
|
Light::WindowProperties properties;
|
|
|
|
properties.title = "Mirror";
|
|
|
|
properties.size = glm::uvec2(1280u, 720u);
|
|
|
|
properties.vsync = true;
|
|
|
|
|
2025-07-05 14:23:01 +03:30
|
|
|
m_window->SetProperties(properties);
|
2025-07-05 13:28:41 +03:30
|
|
|
|
|
|
|
// Attach the sandbox layer
|
|
|
|
LayerStack::EmplaceLayer<EditorLayer>(("MirrorLayer"));
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
Application *CreateApplication()
|
|
|
|
{
|
|
|
|
return new Mirror();
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace Light
|