aboutsummaryrefslogtreecommitdiff
path: root/src/helper.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-02-27 14:47:23 +0100
committerCharles <sircharlesaze@gmail.com>2020-02-27 14:47:23 +0100
commitdab9efb7b745fe884fb72017591dce95978c19c4 (patch)
tree67de56f79c67a29f3b916593c8f2ee4ebd5df45d /src/helper.c
parent7a5632ab67f95c561ce22a19352e963af3077a5b (diff)
downloadfractol-dab9efb7b745fe884fb72017591dce95978c19c4.tar.gz
fractol-dab9efb7b745fe884fb72017591dce95978c19c4.tar.bz2
fractol-dab9efb7b745fe884fb72017591dce95978c19c4.zip
Optimization and norming a bitHEADmaster
Diffstat (limited to 'src/helper.c')
-rw-r--r--src/helper.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/helper.c b/src/helper.c
index fb55a8b..b78669c 100644
--- a/src/helper.c
+++ b/src/helper.c
@@ -6,23 +6,12 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/24 11:54:57 by cacharle #+# #+# */
-/* Updated: 2020/02/25 16:21:13 by cacharle ### ########.fr */
+/* Updated: 2020/02/27 14:46:51 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
#include "fractol.h"
-/* void h_offset_to_complex(t_state *state, t_complex *z, int offset) */
-/* { */
-/* int y; // unoptimized */
-/* int x; */
-/* */
-/* y = offset / state->window.width; */
-/* x = offset % state->window.width; */
-/* z->a = y / state->window.height * state->plane.a; */
-/* z->b = x / state->window.width * state->plane.b; */
-/* } */
-
void h_zoom_in(t_state *state)
{
state->plane.r /= ZOOM_SPEED;