made some utilities
This commit is contained in:
parent
2c9fdc3f48
commit
09747a4146
@ -6,7 +6,7 @@
|
|||||||
/* By: whaffman <whaffman@student.codam.nl> +#+ +:+ +#++#++:++#++ */
|
/* By: whaffman <whaffman@student.codam.nl> +#+ +:+ +#++#++:++#++ */
|
||||||
/* +#+ +#+#+ +#++#+ +#+ \o/ */
|
/* +#+ +#+#+ +#++#+ +#+ \o/ */
|
||||||
/* Created: 2024/11/10 14:44:51 by whaffman #+#+# #+#+# #+# #+# | */
|
/* Created: 2024/11/10 14:44:51 by whaffman #+#+# #+#+# #+# #+# | */
|
||||||
/* Updated: 2024/11/10 16:34:08 by whaffman ### ### ### ### / \ */
|
/* Updated: 2024/11/10 16:35:59 by whaffman ### ### ### ### / \ */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@ -19,12 +19,12 @@ int shortest_rotate(int index, int size)
|
|||||||
return (-1 * (size - index));
|
return (-1 * (size - index));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO
|
||||||
void rotate_to(int index, t_state state, char c)
|
void rotate_to(int index, t_state state, char c)
|
||||||
{
|
{
|
||||||
//TODO
|
|
||||||
if (c == 'a')
|
if (c == 'a')
|
||||||
{
|
{
|
||||||
|
return ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user