mirror of
https://github.com/allemangD/toddcox-visualize.git
synced 2025-11-10 12:02:47 -05:00
Cleanup and tweaks for nanogui
- clean up main-gui.cpp - Add Primitive constructor from vector - move ubo bindbufferbase to correct location
This commit is contained in:
@@ -26,6 +26,10 @@ struct Primitive {
|
||||
inds[N - 1] = root;
|
||||
}
|
||||
|
||||
explicit Primitive(const std::vector<unsigned> &values) {
|
||||
std::copy(values.begin(), values.begin() + N, inds.begin());
|
||||
}
|
||||
|
||||
~Primitive() = default;
|
||||
|
||||
void apply(const tc::Cosets &table, int gen) {
|
||||
|
||||
Reference in New Issue
Block a user