diff options
Diffstat (limited to 'src/libjin/Graphics')
-rw-r--r-- | src/libjin/Graphics/je_mesh.h | 6 | ||||
-rw-r--r-- | src/libjin/Graphics/je_shapes.h | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/libjin/Graphics/je_mesh.h b/src/libjin/Graphics/je_mesh.h index dbb2881..e0a38f8 100644 --- a/src/libjin/Graphics/je_mesh.h +++ b/src/libjin/Graphics/je_mesh.h @@ -1,6 +1,8 @@ #ifndef __JE_MESH_H__ #define __JE_MESH_H__ +#include "je_graphic.h" + namespace JinEngine { namespace Graphics @@ -12,9 +14,11 @@ namespace JinEngine class Mesh { public: + void setGraphic(); + private: - + const Graphic* mGraphic; }; diff --git a/src/libjin/Graphics/je_shapes.h b/src/libjin/Graphics/je_shapes.h index 16e29a4..d62592b 100644 --- a/src/libjin/Graphics/je_shapes.h +++ b/src/libjin/Graphics/je_shapes.h @@ -12,11 +12,11 @@ namespace JinEngine namespace Graphics { - typedef enum { + enum RenderMode { NONE = 0, FILL , LINE - }RenderMode; + }; extern void line(int x1, int y1, int x2, int y2); extern void rect(RenderMode mode, int x, int y, int w, int h); @@ -31,4 +31,4 @@ namespace JinEngine #endif // jin_graphics -#endif // __JE_GEOMETRY_H__ +#endif // __JE_GEOMETRY_H__
\ No newline at end of file |