1 /* This file is part of Dilay
2  * Copyright © 2015-2018 Alexander Bau
3  * Use and redistribute under the terms of the GNU General Public License
4  */
5 #ifndef DILAY_DISTANCE
6 #define DILAY_DISTANCE
7 
8 #include <glm/fwd.hpp>
9 
10 class PrimCone;
11 class PrimConeSphere;
12 class PrimCylinder;
13 class PrimSphere;
14 class PrimTriangle;
15 
16 namespace Distance
17 {
18   float distance (const PrimSphere&, const glm::vec3&);
19   float distance (const PrimCylinder&, const glm::vec3&);
20   float distance (const PrimCone&, const glm::vec3&);
21   float distance (const PrimConeSphere&, const glm::vec3&);
22   float distance (const PrimTriangle&, const glm::vec3&);
23 }
24 
25 #endif
26