Skip to content

Commit

Permalink
add TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkesy committed Jan 24, 2024
1 parent 59af053 commit 3871616
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ int main(int argc, char** argv) {
if (mandelbrot != nullptr && window.mouse_selection.has_value()) {
const auto selection = window.mouse_selection;
const auto before = current_state.area;
// FIXME: lower value should be start, higher value should be end
// FIXME: expand selection to have same aspect ratio as window -> remove
// square constraint
current_state.area.start =
Mandelbrot::PixelToComplex(selection->start_x, selection->end_x,
window.width, window.height, before);
Expand Down

0 comments on commit 3871616

Please sign in to comment.