projects
/
hair
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
2efedf774a55373be4a291464b104a6d95649637
[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_