From cc697b7a7c8ed5b9588f2d6a49e5963bd22e1ae4 Mon Sep 17 00:00:00 2001 From: Archie Hilton Date: Tue, 14 May 2024 22:03:17 +0100 Subject: [PATCH] Stop spinning quads around like a madman --- src/Quad.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Quad.cc b/src/Quad.cc index 7d1d24e..8bd1e8d 100644 --- a/src/Quad.cc +++ b/src/Quad.cc @@ -14,13 +14,6 @@ glm::vec2 Quad::get_position_vector() { } void Quad::draw(){ - float time = glfwGetTime(); - - m_rotation = 2*sin(time); - - m_pos_x = 0.25*sin(time); - m_pos_y = 0.5*cos(time); - glUniform2f(m_uniform_data.world_pos, m_pos_x, m_pos_y); glUniform1f(m_uniform_data.rotation, m_rotation);