replace barycentric coordinates for dem

This commit is contained in:
2020-01-17 10:50:25 -05:00
parent 8d76c1672d
commit 59eec32628

View File

@@ -94,8 +94,8 @@ int main(int argc, char *argv[]) {
auto corners = plane_intersections(mirrors);
// auto start = barycentric(corners, {1.00f, 1.00f, 1.00f, 1.00f});
// auto start = barycentric(corners, {0.05, 0.05, 1.00, 3.00});
auto start = barycentric(corners, {0, 0, 0, 1});
auto start = barycentric(corners, {0.05, 0.05, 1.00, 3.00});
// auto start = barycentric(corners, {0, 0, 0, 1});
auto points = res.path.walk<glm::vec4, glm::vec4>(start, mirrors, reflect);
GLuint vbo;