WIP: intermediary commit, will attempt to run HC's code on this machine.

This commit is contained in:
michal
2014-08-25 17:37:23 -04:00
parent 2797dcf0b9
commit 013d4c5bb6
17 changed files with 516 additions and 87 deletions

View File

@@ -126,7 +126,7 @@ void RenderablePlanet::render(const Camera* camera, const psc& thisPosition)
transform = glm::rotate(
transform, 4.1f * static_cast<float>(sgct::Engine::instance()->getTime()),
glm::vec3(0.0f, 1.0f, 0.0f));
// setup the data to the shader
_programObject->setUniform("ViewProjection", camera->viewProjectionMatrix());
_programObject->setUniform("ModelTransform", transform);