Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'extern/carve/include/carve/aabb.hpp')
-rw-r--r--extern/carve/include/carve/aabb.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/extern/carve/include/carve/aabb.hpp b/extern/carve/include/carve/aabb.hpp
index 20ee028aa45..c2fb2f6075f 100644
--- a/extern/carve/include/carve/aabb.hpp
+++ b/extern/carve/include/carve/aabb.hpp
@@ -120,6 +120,12 @@ namespace carve {
template<unsigned ndim>
std::ostream &operator<<(std::ostream &o, const aabb<ndim> &a);
+ template<unsigned ndim>
+ double distance2(const aabb<3> &a, const vector<ndim> &v);
+
+ template<unsigned ndim>
+ double distance(const aabb<3> &a, const vector<ndim> &v);
+
template<unsigned ndim, typename obj_t>