tesseract wireframe and project rename/refactor
This commit is contained in:
@@ -60,6 +60,8 @@ protected:
|
||||
|
||||
virtual void display() {}
|
||||
|
||||
virtual void update() {}
|
||||
|
||||
virtual void deinit() {}
|
||||
|
||||
public:
|
||||
|
||||
@@ -190,10 +190,12 @@ int App::run() {
|
||||
|
||||
_time += (_glfw_time - _last_glfw_time) * _rate;
|
||||
|
||||
update();
|
||||
display();
|
||||
|
||||
_last_time = _time;
|
||||
_last_glfw_time = _glfw_time;
|
||||
_frame++;
|
||||
|
||||
glfwPollEvents();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user