diff --git a/main/src/main.cpp b/main/src/main.cpp index d44c95d..029f93c 100644 --- a/main/src/main.cpp +++ b/main/src/main.cpp @@ -52,8 +52,6 @@ struct State { std::vector verts_thin{}; std::vector inds_thin{}; - glm::mat4 rot = glm::identity(); - Unifs unifs; glm::vec4 hopf(float xi, float nu, float eta) { @@ -68,6 +66,8 @@ struct State { glm::vec3 stereo(float xi, float nu, float eta) { auto h = hopf(xi, nu, eta); + glm::mat4 rot = glm::identity(); + h = rot * h; return h.xyz() / (1 - h.w);