mirror of
https://github.com/allemangD/toddcox-visualize.git
synced 2026-01-24 06:39:20 -05:00
introduce Mesh class with subgroup context
This commit is contained in:
@@ -47,8 +47,9 @@ public:
|
||||
|
||||
template<class T>
|
||||
Slice(const tc::Group &g, T all_sg_gens, const std::vector<std::vector<int>> &exclude) : group(g) {
|
||||
const auto &data = merge<N>(hull<N>(g, all_sg_gens, exclude));
|
||||
ibo.put(data);
|
||||
auto mesh = merge(hull<N>(g, exclude));
|
||||
ibo.put(mesh);
|
||||
|
||||
vao.ipointer(0, ibo, 4, GL_UNSIGNED_INT);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user