Commit graph

8 commits

Author SHA1 Message Date
Light
aab0c7b958 CameraComponent, SceneCamera
- Added CameraComponent
- Added SceneCamera
- Renamed the previous Camera to OrthographicCamera
- Added Camera
- Renderer now takes a Camera* for projection and mat4& for view
- Scene::OnRender now takes in an optional Framebuffer to render to
- Minor tidying
2021-07-30 14:40:34 +04:30
Light
9033ceffa1 Major changes
- Major maintenance
2021-07-29 17:12:13 +04:30
Light
c34f5e03f0 KeyCodes, MouseCodes
- Added nameless enums for KeyCodes and MouseCodes
- Removed InputCodes
2021-07-26 12:34:35 +04:30
Light
55869f6106 Ref, Scope
- Changed all std::unique_ptr/shared_ptr stuff to use Ref/Scope
- Fixed the Logger.h include in Base.h problem
2021-07-26 11:43:37 +04:30
Light
8287b89fad Scene System
- Added Scene
- Added Entity
- Added Components
      * TransformComponent
      * SpriteRendererComponent

- Minor fixes
2021-07-25 17:50:08 +04:30
Light
aac2c51bd5 Input
- Added 'Input'
- Added <InputCodes>
- The 'MirrorLayer''s ImGuiWindow, "GameView" will not receive/react to
      input events if the window is not focused
2021-07-21 20:03:39 +04:30
Light
2061abadd8 Framebuffer resizing
- Added 'Camera::OnResize()' for keeping the aspect ratio updated to
      prevent streching/squashing the scene

- Added 'FrameBuffe::Resize()'

- Enabled ImGui docking and viewport

- 'MirrorLayer::m_Camera' & 'MirrorLayer::m_Framebuffer' now adjust their properties
      when ImGui's available region changes
2021-07-16 19:59:14 +04:30
Light
0b19b1aa30 Mirror
- Added Mirror:
      Mirror is the LightEngine's editor >w< (cuz it reflects light uwu)
2021-07-15 15:56:30 +04:30