v1.0 - normed texture system, multiple keypress, fixes on parsing, removed trailing maps
This commit is contained in:
parent
e581c72b02
commit
3f43074d05
35 changed files with 474 additions and 438 deletions
24
ft_addons/ft_inrange.c
Normal file
24
ft_addons/ft_inrange.c
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_inrange.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: bgoulard <bgoulard@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/12/16 06:04:32 by bgoulard #+# #+# */
|
||||
/* Updated: 2024/12/16 09:01:36 by bgoulard ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
// dest ft_math/ft_inrange.c
|
||||
#include <stdbool.h>
|
||||
|
||||
bool ft_inrange_ex(int value, int min, int max)
|
||||
{
|
||||
return (value > min && value < max);
|
||||
}
|
||||
|
||||
bool ft_inrange(int value, int min, int max)
|
||||
{
|
||||
return (value >= min && value <= max);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue