goat3d
diff src/aabox.h @ 75:76dea247f75c
in progress
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 08 May 2014 00:50:16 +0300 |
parents | |
children | 70b7c41a4f17 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/aabox.h Thu May 08 00:50:16 2014 +0300 1.3 @@ -0,0 +1,20 @@ 1.4 +#ifndef AABOX_H_ 1.5 +#define AABOX_H_ 1.6 + 1.7 +#include <vmath/vmath.h> 1.8 + 1.9 +namespace g3dimpl { 1.10 + 1.11 +class AABox { 1.12 +public: 1.13 + Vector3 bmin, bmax; 1.14 + 1.15 + AABox(); 1.16 + AABox(const Vector3 &b0, const Vector3 &b1); 1.17 +}; 1.18 + 1.19 +AABox aabox_union(const AABox &a, const AABox &b); 1.20 + 1.21 +} 1.22 + 1.23 +#endif // AABOX_H_