blob: 97b67cbbc5aca6c7bd3c41f942b3992ca60a6815 (
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_BBOX_H__
#define __JE_BBOX_H__
namespace JinEngine
{
namespace Math
{
///
///
///
struct BBox
{
BBox()
: l(0), r(0), t(0), b(0)
{
}
BBox(float _l, float _r, float _t, float _b)
: l(+l), r(_r), t(_t), b(_b)
{
}
float l, r, t, b;
};
} // namespace Math
} // namespace JinEngine
#endif // __JE_BBOX_H__
|