|
matf-rg-engine
1.0.0
Base for project for the Computer Graphics course at Faculty of Mathematics, University of Belgrade
|
Observers change in window size in order to update the projection matrix. More...
#include <GraphicsController.hpp>


Public Member Functions | |
| GraphicsPlatformEventObserver (GraphicsController *graphics) | |
| void | on_window_resize (int width, int height) override |
| Called by engine::platform::PlatformController when the window is resized. More... | |
Public Member Functions inherited from engine::platform::PlatformEventObserver | |
| virtual void | on_mouse_move (MousePosition position) |
| Called by engine::platform::PlatformController for every frame in which the mouse moved. More... | |
| virtual void | on_key (Key key) |
| Called by engine::platform::PlatformController for every frame in an event occurred on the keyboard or mouse key. More... | |
| virtual | ~PlatformEventObserver ()=default |
Private Attributes | |
| GraphicsController * | m_graphics |
Observers change in window size in order to update the projection matrix.
|
inlineexplicit |
|
overridevirtual |
Called by engine::platform::PlatformController when the window is resized.
Reimplemented from engine::platform::PlatformEventObserver.
|
private |