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:
authorover0219 <over0219@umn.edu>2020-06-16 20:26:16 +0300
committerover0219 <over0219@umn.edu>2020-06-16 20:26:16 +0300
commit0beb3002f27642b442f01e991ffcc4db76585cef (patch)
tree8dc95a122c40e7b991b8b9c6e0abcae673837175 /extern/softbody/src/admmpd_math.h
parent8cb56c1d745dd7efe042db22fd5f8da15da9087d (diff)
added BVH
Diffstat (limited to 'extern/softbody/src/admmpd_math.h')
-rw-r--r--extern/softbody/src/admmpd_math.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/extern/softbody/src/admmpd_math.h b/extern/softbody/src/admmpd_math.h
index 25ff2d3114f..e577d6b9dd7 100644
--- a/extern/softbody/src/admmpd_math.h
+++ b/extern/softbody/src/admmpd_math.h
@@ -1,8 +1,8 @@
+// Copyright Matt Overby 2020.
+// Distributed under the MIT License.
-
-
-#ifndef _ADMMPD_MATH_H
-#define _ADMMPD_MATH_H
+#ifndef ADMMPD_MATH_H_
+#define ADMMPD_MATH_H_
#include <Eigen/Geometry>
@@ -16,6 +16,8 @@ Eigen::Vector4d point_tet(
const Eigen::Vector3d &c,
const Eigen::Vector3d &d);
+} // namespace barycoords
+
bool point_in_tet(
const Eigen::Vector3d &p,
const Eigen::Vector3d &a,
@@ -23,8 +25,6 @@ bool point_in_tet(
const Eigen::Vector3d &c,
const Eigen::Vector3d &d);
-} // namespace barycoords
-
} // namespace admmpd
-#endif //_ADMMPD_MATH_H
+#endif // ADMMPD_MATH_H_