erebus
diff liberebus/src/bvol.h @ 2:474a0244f57d
fixed specialization mistake
fixed line endings
added makefiles
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 28 Apr 2014 06:31:10 +0300 |
parents | 4abdce1361b9 |
children | bab25c0ce337 |
line diff
1.1 --- a/liberebus/src/bvol.h Mon Apr 28 05:58:22 2014 +0300 1.2 +++ b/liberebus/src/bvol.h Mon Apr 28 06:31:10 2014 +0300 1.3 @@ -1,16 +1,16 @@ 1.4 -#ifndef BVOL_H_ 1.5 -#define BVOL_H_ 1.6 - 1.7 -#include "vmath/ray.h" 1.8 - 1.9 -class AABox { 1.10 -public: 1.11 - Vector3 vmin, vmax; 1.12 - 1.13 - AABox() : vmin(-0.5, -0.5, -0.5), vmax(0.5, 0.5, 0.5) {} 1.14 - AABox(const Vector3 &v0, const Vector3 &v1) : vmin(v0), vmax(v1) {} 1.15 - 1.16 - bool intersect(const Ray &ray) const; 1.17 -}; 1.18 - 1.19 -#endif // BVOL_H_ 1.20 \ No newline at end of file 1.21 +#ifndef BVOL_H_ 1.22 +#define BVOL_H_ 1.23 + 1.24 +#include "vmath/ray.h" 1.25 + 1.26 +class AABox { 1.27 +public: 1.28 + Vector3 vmin, vmax; 1.29 + 1.30 + AABox() : vmin(-0.5, -0.5, -0.5), vmax(0.5, 0.5, 0.5) {} 1.31 + AABox(const Vector3 &v0, const Vector3 &v1) : vmin(v0), vmax(v1) {} 1.32 + 1.33 + bool intersect(const Ray &ray) const; 1.34 +}; 1.35 + 1.36 +#endif // BVOL_H_