diff options
author | 2025-05-22 18:59:46 +0200 | |
---|---|---|
committer | 2025-05-22 18:59:46 +0200 | |
commit | a22c967a59a1e17663790db72f2d24edafc6199a (patch) | |
tree | 5aa0a60a4cba2b314f019bb0499a091e79f3fc13 /src/main/engine/shape/circle.h | |
parent | cec27feccd1d3232ceae2bf284f66071d36cc96a (diff) | |
download | tris-a22c967a59a1e17663790db72f2d24edafc6199a.tar.gz tris-a22c967a59a1e17663790db72f2d24edafc6199a.zip |
Remove the rendiring process of the lines
I've moved that inside the game rendering function.
Diffstat (limited to 'src/main/engine/shape/circle.h')
-rw-r--r-- | src/main/engine/shape/circle.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/engine/shape/circle.h b/src/main/engine/shape/circle.h index 72e69e1..67c3a46 100644 --- a/src/main/engine/shape/circle.h +++ b/src/main/engine/shape/circle.h @@ -20,12 +20,15 @@ #ifndef __CIRCLE_H__ #define __CIRCLE_H__ +#include "../domain/color.h" + typedef struct { int outline; float cx; float cy; float r; int num_segments; + Color *color; } Circle; Circle *engine_circle_new(float cx, float cy, float r, int num_segments, int outline); |