diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2024-10-17 09:34:18 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2024-10-17 09:34:18 -0700 |
commit | 799390e1eac98fcf40636dace69729063a004840 (patch) | |
tree | cd06556a773e3630cd5e7f5331c1355c280ba4c4 /apps | |
parent | 0805bd7a59f5f1d232ef5a440d3e4648617c78c3 (diff) | |
download | mu-799390e1eac98fcf40636dace69729063a004840.tar.gz |
fix another comment
Diffstat (limited to 'apps')
-rw-r--r-- | apps/mandelbrot.mu | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/mandelbrot.mu b/apps/mandelbrot.mu index 90e5171a..65f5a59f 100644 --- a/apps/mandelbrot.mu +++ b/apps/mandelbrot.mu @@ -159,7 +159,6 @@ fn viewport-to-imaginary y: int, width: int, height: int, scene-cy: float, scene # height in the viewport goes to scene-cy + scene-width/2*height/width # Therefore: # y in the viewport goes to (scene-cy - scene-width/2*height/width) + y*scene-width/width - # scene-cy - scene-width/width * (height/2 + y) # At most two numbers being multiplied before a divide, so no risk of overflow. var result/xmm0: float <- convert y result <- multiply scene-width |