3#include "common/types/OpenGLTypes.h"
4#include "common/types/SmartPointers.h"
7#include "confs/DynamicExportingMacros.h"
8#include "editor/RenderingInterface.h"
9#include "editor/camera/Camera.h"
11#include "inputs/InputHandler.h"
22 int m_Width, m_Height;
39 GetInstance(
int width = 1920,
int height = 1080,
const char* title =
"Vivid",
Camera* camera =
nullptr)
41 if (s_Instance == NULL)
42 s_Instance =
new Application(width, height, title, camera);
46 Window& GetWindow() {
return *m_Window; }
48 Camera* GetCamera() {
return m_Camera; }
50 char* GetTitle() {
return (
char*)m_Title; }
52 void SetCamera(
Camera* camera) { m_Camera = camera; }
A class that represents the camera.
RenderingInterface class.
A class that represents a window and is wrapper of GLFWwindow.
void SetRenderingInterface(RenderingInterface *renderingInterface)
Sets the rendering interface.