summaryrefslogtreecommitdiff
path: root/src/main/engine/shape/circle.h
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2025-05-22 18:59:46 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2025-05-22 18:59:46 +0200
commita22c967a59a1e17663790db72f2d24edafc6199a (patch)
tree5aa0a60a4cba2b314f019bb0499a091e79f3fc13 /src/main/engine/shape/circle.h
parentcec27feccd1d3232ceae2bf284f66071d36cc96a (diff)
downloadtris-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.h3
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);