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-03 07:26:39 +0300
committerover0219 <over0219@umn.edu>2020-06-03 07:26:39 +0300
commit9ceb298156044e616bcea97b3c82f1c416ec4385 (patch)
tree3fdbfc815f87334f3e545201566aaf325582db2f /extern/softbody/src/admmpd_math.h
parent9ba5c8b90aa6245c569f7e66b0cd472beb59b5a5 (diff)
still pretty buggy. The solver should be working, but lattice is too lousy to see. The interface between blender and solver needs work too, doesn't seem to reset as often as I think it should be?
Diffstat (limited to 'extern/softbody/src/admmpd_math.h')
-rw-r--r--extern/softbody/src/admmpd_math.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/extern/softbody/src/admmpd_math.h b/extern/softbody/src/admmpd_math.h
index d777df5ce2e..25ff2d3114f 100644
--- a/extern/softbody/src/admmpd_math.h
+++ b/extern/softbody/src/admmpd_math.h
@@ -9,19 +9,19 @@
namespace admmpd {
namespace barycoords {
-Eigen::Matrix<double,4,1> point_tet(
- const Eigen::Matrix<double,3,1> &p,
- const Eigen::Matrix<double,3,1> &a,
- const Eigen::Matrix<double,3,1> &b,
- const Eigen::Matrix<double,3,1> &c,
- const Eigen::Matrix<double,3,1> &d);
+Eigen::Vector4d point_tet(
+ const Eigen::Vector3d &p,
+ const Eigen::Vector3d &a,
+ const Eigen::Vector3d &b,
+ const Eigen::Vector3d &c,
+ const Eigen::Vector3d &d);
bool point_in_tet(
- const Eigen::Matrix<double,3,1> &p,
- const Eigen::Matrix<double,3,1> &a,
- const Eigen::Matrix<double,3,1> &b,
- const Eigen::Matrix<double,3,1> &c,
- const Eigen::Matrix<double,3,1> &d);
+ const Eigen::Vector3d &p,
+ const Eigen::Vector3d &a,
+ const Eigen::Vector3d &b,
+ const Eigen::Vector3d &c,
+ const Eigen::Vector3d &d);
} // namespace barycoords