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:
Alec Jacobson
2023-09-01 11:11:46 -04:00
committed by GitHub
parent f5702f63e7
commit b774e1b31c
79 changed files with 653 additions and 518 deletions
@@ -9,7 +9,6 @@
#include <igl/per_corner_normals.h>
#include <igl/per_face_normals.h>
#include <igl/polygon_corners.h>
#include <igl/slice.h>
#include <igl/sparse_voxel_grid.h>
void contours(
@@ -195,7 +194,7 @@ void contours(
Q.col(2), Q.col(3),
Q.col(3), Q.col(0);
igl::per_face_normals(V,I,C,N,VV,FF,J);
igl::slice(N,J,1,NN);
NN = N(J,Eigen::all);
igl::per_corner_normals(V,I,C,20,N,VV,FF,J,NN);
}