lol, its a sphere now

This commit is contained in:
Evert Prants 2020-03-24 15:02:23 +02:00
parent cfbcc73549
commit b9de341ed9
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ void PlanetFaceNode::draw(Camera* camera, Shader* shader)
shader->use();
camera->shaderViewProjection(*shader);
shader->setUniform("modelMatrix", glm::translate(glm::mat4(1.0f), this->getAbsolutePosition()));
shader->setUniform("modelMatrix", glm::translate(glm::mat4(1.0f), m_planet->getPosition()));
glDrawElements(GL_TRIANGLES, m_indices, GL_UNSIGNED_INT, nullptr);
}