Updated README.md with build instructions
[hair] / src / object.h
1 #ifndef OBJECT_H_
2 #define OBJECT_H_
3
4 #include <gmath/gmath.h>
5
6 class CollSphere {
7 public:
8         float radius;
9         Vec3 center;
10
11         CollSphere();
12
13         bool contains(const Vec3 &v) const;
14         Vec3 project_surf(const Vec3 &v) const;
15 };
16
17 #endif // OBJECT_H_