aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/graphics/je_mesh.h
blob: 5bcca2ef234304982363dcf669b4cf3795d1349e (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