Update camera to use double precition.

This commit is contained in:
Kalle Bladin
2016-06-05 21:27:20 -04:00
parent 187ddb8049
commit 45e7c41690
9 changed files with 11 additions and 12 deletions

View File

@@ -154,7 +154,7 @@ void RenderablePath::render(const RenderData& data) {
_programObject->activate();
psc currentPosition = data.position;
glm::mat4 camrot = data.camera.viewRotationMatrix();
glm::mat4 camrot = glm::mat4(data.camera.viewRotationMatrix());
glm::mat4 transform = glm::mat4(1);
// setup the data to the shader