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 PlatformController when the window is resized. | |
Public Member Functions inherited from engine::platform::PlatformEventObserver | |
virtual void | on_mouse_move (MousePosition position) |
Called by PlatformController for every frame in which the mouse moved. | |
virtual void | on_key (Key key) |
Called by PlatformController for every frame in an event occured on the keyboard or mouse key. | |
virtual | ~PlatformEventObserver ()=default |
Private Attributes | |
GraphicsController * | m_graphics |
Observers change in window size in order to update the projection matrix.
|
inlineexplicit |
|
overridevirtual |
Called by PlatformController when the window is resized.
Reimplemented from engine::platform::PlatformEventObserver.
|
private |