Merge into master my changes (#3)
* WIP * Compiling! * moved some more headers * removed src/point.h * Update * fixed some stuff
This commit is contained in:
parent
24d122dc54
commit
f51a071d03
33 changed files with 805 additions and 339 deletions
29
parser/includes/point/inline3.h
Normal file
29
parser/includes/point/inline3.h
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* inline3.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/04/30 14:44:49 by maiboyer #+# #+# */
|
||||
/* Updated: 2024/04/30 15:04:39 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef INLINE3_H
|
||||
#define INLINE3_H
|
||||
|
||||
#include "parser/types/types_point.h"
|
||||
#include <stdint.h>
|
||||
|
||||
static inline t_point point_val_zero(void)
|
||||
{
|
||||
return ((t_point){0, 0});
|
||||
}
|
||||
|
||||
static inline t_point point_val_max(void)
|
||||
{
|
||||
return ((t_point){UINT32_MAX, UINT32_MAX});
|
||||
}
|
||||
|
||||
#endif /* INLINE3_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue