Improve hopf parameters

This commit is contained in:
David Allemang
2022-03-27 19:31:54 -04:00
parent 86ffc43c93
commit 0051794393

View File

@@ -182,9 +182,7 @@ int run(GLFWwindow *window, ImGuiContext *context) {
using CellsType = Eigen::Matrix<unsigned, 3, Eigen::Dynamic>;
using Mesh = ml::Mesh<PointsType, CellsType>;
// auto m = make_hopf(3, 4, 5);
// auto mesh = ml::make_cube_wire<4>(0.22f);
auto mesh = make_hopf(6, 8, 4096);
auto mesh = make_hopf(5, 32, 1024);
auto elements = (GLint) ind_buf.upload(mesh.cells.reshaped());
vert_buf.upload(mesh.points.colwise());