Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
NateSeymour committed Jul 4, 2024
1 parent 3941f4e commit e2ea66a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/calculator/ui/Window.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ namespace unlogic
float height = (float)this->renderer_.get_height();
float width = (float)this->renderer_.get_width();

// TODO: Change to perspective projection to more easily "zoom" in and out by moving camera representation
glm::mat4 projection = glm::ortho(width / -2.f, width / 2.f, height / -2.f, height / 2.f);

// Setup shader
Expand Down

0 comments on commit e2ea66a

Please sign in to comment.