aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/math/quad.h
blob: 4c4246ec0c9240164ecee070904212bb8f33ddb5 (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
31
#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__