made some utilities

This commit is contained in:
whaffman 2024-11-10 16:36:08 +01:00
parent 2c9fdc3f48
commit 09747a4146

View File

@ -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 ;
} }
} }