Antkeeper
0.0.1
|
#include <camera-system.hpp>
Public Member Functions | |
camera_system (entity::registry ®istry) | |
void | update (float t, float dt) override |
Perform's a system's update() function. More... | |
void | interpolate (float alpha) |
void | set_viewport (const math::fvec4 &viewport) |
![]() | |
updatable_system (entity::registry ®istry) | |
Creates an updatable system. More... | |
Additional Inherited Members | |
![]() | |
entity::registry & | registry |
Registry on which the system operate. More... | |
Definition at line 26 of file camera-system.hpp.
|
explicit |
Definition at line 30 of file camera-system.cpp.
void camera_system::interpolate | ( | float | alpha | ) |
Definition at line 40 of file camera-system.cpp.
void camera_system::set_viewport | ( | const math::fvec4 & | viewport | ) |
Definition at line 158 of file camera-system.cpp.
|
overridevirtual |
Perform's a system's update() function.
t | Total elapsed time, in seconds. |
dt | Delta time, in seconds. |
Implements updatable_system.
Definition at line 34 of file camera-system.cpp.