formatting changes
This commit is contained in:
parent
49191e85ba
commit
d3d5382eb5
|
@ -18,9 +18,9 @@ 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,\
|
||||
|
|
Loading…
Reference in a new issue