goat3d

view src/aabox.h @ 95:da100bf13f7f

[goat3d] implemented animation loading [goatview] working on the animation controls
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 19 May 2014 06:42:40 +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_