From d3d5382eb578cd1141d14ee0bc1f9a2487b00685 Mon Sep 17 00:00:00 2001 From: Sara Date: Sun, 8 Oct 2023 23:08:56 +0200 Subject: [PATCH] formatting changes --- src/transformable.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/transformable.h b/src/transformable.h index 42d38dd..5e9c79c 100644 --- a/src/transformable.h +++ b/src/transformable.h @@ -18,16 +18,16 @@ typedef struct { #define impl_Transformable_for(T, get_transform_f, get_position_f, get_scale_f, get_rotation_f)\ static inline Transformable T##_as_Transformable(T* x) {\ - TC_FN_TYPECHECK(Transform*, get_transform_f, T* e);\ - TC_FN_TYPECHECK(Vector*, get_position_f, T* e);\ - TC_FN_TYPECHECK(float*, get_rotation_f, T* e);\ + TC_FN_TYPECHECK(Transform*, get_transform_f, T*);\ + TC_FN_TYPECHECK(Vector*, get_position_f, T*);\ + TC_FN_TYPECHECK(float*, get_rotation_f, T*);\ static ITransformable const tc = {\ .get_transform = (Transform*(*const)(void*)) get_transform_f,\ .get_position = (Vector*(*const)(void*)) get_position_f,\ .get_scale = (Vector*(*const)(void*)) get_scale_f,\ .get_rotation = (float*(*const)(void*)) get_rotation_f\ };\ - return (Transformable){.tc = &tc, .data = x };\ + return (Transformable){.tc = &tc, .data = x};\ } #endif // !_fencer_transformable_h