Skip to content
Snippets Groups Projects
Commit cc416b37 authored by Pascal Engeler's avatar Pascal Engeler
Browse files

Fixed double define bug

parent 119291e2
No related branches found
No related tags found
No related merge requests found
...@@ -64,6 +64,6 @@ std::array<float, 3> operator/=(std::array<float, 3>& v, const float d){ ...@@ -64,6 +64,6 @@ std::array<float, 3> operator/=(std::array<float, 3>& v, const float d){
glm::mat4 scale_z(float z0, float factor){ glm::mat4 scale_z(float z0, float factor){
glm::mat4 transf (1.f); glm::mat4 transf (1.f);
glm::mat4 transf = glm::translate(glm::scale(glm::translate(transf, glm::vec3(0.f,0.f,-z0)), glm::vec3(1.,1.,factor)), glm::vec3(0.,0.,z0)); transf = glm::translate(glm::scale(glm::translate(transf, glm::vec3(0.f,0.f,-z0)), glm::vec3(1.,1.,factor)), glm::vec3(0.,0.,z0));
return transf; return transf;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment