-
Notifications
You must be signed in to change notification settings - Fork 0
/
delta_draw.h
29 lines (25 loc) · 1.4 KB
/
delta_draw.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* delta_draw.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tdarchiv <tdarchiv@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/02/23 17:00:38 by tdarchiv #+# #+# */
/* Updated: 2019/02/28 13:38:01 by tdarchiv ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef DELTA_DRAW_H
# define DELTA_DRAW_H
# include "t_double2.h"
# include "multithreading.h"
# include "coloring.h"
void try_delta_draw(t_double2 delta, t_config *config, t_frame frame,
t_thread_pool *pool);
void delta_draw(t_double2 delta, t_config *config, t_frame frame,
t_thread_pool *pool);
void copy_region(t_double2 src, t_double2 dst, t_double2 region_size,
t_frame frame);
t_rect get_wide_dirty_rect(t_double2 frame_size, t_double2 delta);
t_rect get_tall_dirty_rect(t_double2 frame_size, t_double2 delta);
#endif