aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/graphics/je_mesh.h
blob: 4327424c181c8bee886510a5d6b5df2522eaeb5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#ifndef __JE_MESH_H__
#define __JE_MESH_H__

#include "je_graphic.h"

namespace JinEngine
{
	namespace Graphics
	{

        ///
        /// A 2D mesh.
        ///
		class Mesh
		{
		public:
            void setGraphic(const Graphic* graphic);
            void pushVertex(float x, float y, float u, float v);

		private: 
            const Graphic* mGraphic;

		};

	} // namespace Graphics
} // namespace JinEngine

#endif