Skip to content

Commit

Permalink
590 working, changed controls too
Browse files Browse the repository at this point in the history
  • Loading branch information
ritvikkar committed Feb 24, 2017
1 parent 6b716fc commit 56c7c28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Part_2/59/590mainShadowing.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ void handleKey(GLFWwindow *window, int key, int scancode, int action,
GLdouble vec[3];
vecCopy(3, lightA.translation, vec);
vec[0] += 1.0;
lightASetTranslation(&lightA, vec);
lightSetTranslation(&lightA, vec);
} else if (key == GLFW_KEY_LIGHT_UP) {
GLdouble vec[3];
vecCopy(3, lightA.translation, vec);
Expand Down

0 comments on commit 56c7c28

Please sign in to comment.