Browse Source

remove an error

master
Louis-Guillaume DUBOIS 11 years ago
parent
commit
ed1cce94bd
  1. 3
      src/estimator.cpp

3
src/estimator.cpp

@ -34,9 +34,6 @@ class Callback {
indices.push_back(i); indices.push_back(i);
// v = eg_1 ^ eg_2 is the plan normal // v = eg_1 ^ eg_2 is the plan normal
//TODO !!! eg_3 is also the plan normal :-)
// the code hereunder should work :
// Eigen::Vector3f v = eg.col(2);
Eigen::Vector3f v = eg.col(0).cross(eg.col(1)); Eigen::Vector3f v = eg.col(0).cross(eg.col(1));
// norm(v) == 1 // norm(v) == 1
v.normalize(); v.normalize();

Loading…
Cancel
Save