Updated the display controllers to use state controls
This commit is contained in:
@ -19,8 +19,7 @@ namespace Dawn {
|
||||
protected:
|
||||
bool_t projectionNeedsUpdating = true;
|
||||
glm::mat4 projection;
|
||||
|
||||
void onRenderTargetResize(RenderTarget *target, float_t w, float_t h);
|
||||
std::function<void()> evtResized;
|
||||
|
||||
public:
|
||||
static Camera * create(Scene *scene) {
|
||||
@ -89,6 +88,5 @@ namespace Dawn {
|
||||
* Event triggered by the scene item when the item is added to the scene.
|
||||
*/
|
||||
void onStart() override;
|
||||
void onDispose() override;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user