aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/math/je_quad.h
blob: e62f370e0c3ecc6394aa22f8009e73328cf11e46 (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
29
30
#ifndef __JE_QUAD_H__
#define __JE_QUAD_H__

namespace JinEngine
{
    namespace Math 
    {

        ///
        ///
        ///
        struct Quad
        {
            Quad()
                : x(0), y(0), w(0), h(0)
            {
            }

            Quad(float _x, float _y, float _w, float _h)
                : x(_x), y(_y), w(_w), h(_h)
            {
            }

            float x, y, w, h;
        };

    } // namespace Math
} // namespace JinEngine

#endif // __JE_QUAD_H__