Phase out slice for dense matrices (#2259)
* better documentation, test against eigen slicing
* remove a bunch of slices
* clean up templates; static asserts on vector types
* final purges of slice
* fix templates in debug and ears test
* fix slice mask bug
* fix slice bug
* boo. try to get around windows poor template deduction
* annoying left over bad windows ❄️ template
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
#include <igl/barycenter.h>
|
||||
#include <igl/volume.h>
|
||||
#include <igl/exploded_view.h>
|
||||
#include <igl/slice.h>
|
||||
#include <igl/colormap.h>
|
||||
|
||||
|
||||
@@ -43,8 +42,8 @@ int main(int argc, char *argv[])
|
||||
Eigen::MatrixXi EF;
|
||||
Eigen::VectorXi I,J;
|
||||
igl::exploded_view(V,T,s,t,EV,EF,I,J);
|
||||
Eigen::VectorXd DJ;
|
||||
igl::slice(D,J,1,DJ);
|
||||
Eigen::VectorXd DJ = D(J);
|
||||
|
||||
static bool first = true;
|
||||
if(first)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user