easier distinction between orientations

This commit is contained in:
2019-09-15 16:19:10 -04:00
parent bf3eb139b4
commit 5451196183
2 changed files with 10 additions and 10 deletions

View File

@@ -40,7 +40,7 @@ public:
const int N = 3;
const Mults &mults = schlafli<N>({5, 3});
vert_data = vertices<N>(mults, {5, 1, 1});
vert_data = vertices<N>(mults, {1, 1, 1});
edge_data = edges<N>(mults);
face_data = faces<N>(mults);
@@ -112,8 +112,8 @@ public:
glEnable(GL_CULL_FACE);
glBindVertexArray(vert_vao);
glUniform4f(0, 1, 1, 1, 1);
// glDrawArrays(GL_POINTS, 0, vert_data.size());
glUniform4f(0, 1, 0, 0, 1);
glDrawArrays(GL_POINTS, 0, vert_data.size());
glBindVertexArray(edge_vao);
glUniform4f(0, 1, 0, 0, 1);