goat3d
view src/aabox.h @ 94:21319e71117f
[libs] fixed a few warnings in openctm
[goatview] starting animation loading
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 18 May 2014 19:58:47 +0300 |
parents | 76dea247f75c |
children |
line source
1 #ifndef AABOX_H_
2 #define AABOX_H_
4 #include <vmath/vmath.h>
6 namespace g3dimpl {
8 class AABox {
9 public:
10 Vector3 bmin, bmax;
12 AABox();
13 AABox(const Vector3 &b0, const Vector3 &b1);
15 bool operator ==(const AABox &rhs) const;
16 bool operator !=(const AABox &rhs) const;
17 };
19 AABox aabox_union(const AABox &a, const AABox &b);
21 }
23 #endif // AABOX_H_