sixty_percent
This commit is contained in:
@ -0,0 +1,26 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* check_rgb.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: madumerg <madumerg@42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/09/16 09:36:07 by madumerg #+# #+# */
|
||||
/* Updated: 2024/09/16 14:59:30 by madumerg ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "cub3d.h"
|
||||
|
||||
int check_format_rgb(char **tab)
|
||||
{
|
||||
int i = 0;
|
||||
while (tab[i])
|
||||
printf(".%s.\n", tab[i++]);
|
||||
return (0);
|
||||
}
|
||||
|
||||
int create_argb(int a, int r, int g, int b)
|
||||
{
|
||||
return (a << 24 | r << 16 | g << 8 | b);
|
||||
}
|
||||
|
Reference in New Issue
Block a user