Stop spinning quads around like a madman

This commit is contained in:
Archie Hilton 2024-05-14 22:03:17 +01:00
parent d3506737f0
commit cc697b7a7c
1 changed files with 0 additions and 7 deletions

View File

@ -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);