-
Notifications
You must be signed in to change notification settings - Fork 0
/
color.c
18 lines (16 loc) · 1002 Bytes
/
color.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* color.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mehtel <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/03/23 20:04:46 by mehtel #+# #+# */
/* Updated: 2021/03/23 20:05:54 by mehtel ### ########.fr */
/* */
/* ************************************************************************** */
#include "cub3d.h"
int create_trgb(int t, int r, int g, int b)
{
return (t << 24 | r << 16 | g << 8 | b);
}