From 066e5987c515dfc34537d73ca9d2a81ddd1f9e1b Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 21 Oct 2018 13:37:27 +0800 Subject: =?UTF-8?q?*=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/Graphics/je_shapes.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/libjin/Graphics/je_shapes.h') diff --git a/src/libjin/Graphics/je_shapes.h b/src/libjin/Graphics/je_shapes.h index ea010be..2221526 100644 --- a/src/libjin/Graphics/je_shapes.h +++ b/src/libjin/Graphics/je_shapes.h @@ -1,7 +1,7 @@ #ifndef __JE_GEOMETRY_H #define __JE_GEOMETRY_H #include "../core/je_configuration.h" -#if LIBJIN_MODULES_RENDER +#if defined(jin_graphics) #include "je_color.h" #include "je_canvas.h" @@ -18,10 +18,6 @@ namespace JinEngine LINE }RenderMode; - /** - * TODO: - * drawPixels(int n, points) - */ extern void line(int x1, int y1, int x2, int y2); extern void rect(RenderMode mode, int x, int y, int w, int h); extern void triangle(RenderMode mode, int x1, int y1, int x2, int y2, int x3, int y3); @@ -33,5 +29,6 @@ namespace JinEngine } // namespace Graphics } // namespace JinEngine -#endif // LIBJIN_MODULES_RENDER +#endif // jin_graphics + #endif // __JE_GEOMETRY_H \ No newline at end of file -- cgit v1.1-26-g67d0