fix: remove printf debugging
This commit is contained in:
parent
bc34748107
commit
06aaf6e0ba
1
main.c
1
main.c
|
@ -69,7 +69,6 @@ void glfw_key_callback(GLFWwindow* window, int key, int scancode, int action, in
|
||||||
|
|
||||||
void glfw_cursor_position_callback(GLFWwindow* window, double xpos, double ypos) {
|
void glfw_cursor_position_callback(GLFWwindow* window, double xpos, double ypos) {
|
||||||
(void) window;
|
(void) window;
|
||||||
printf("%f %f\n", xpos, ypos);
|
|
||||||
|
|
||||||
float scale_x = fmin(
|
float scale_x = fmin(
|
||||||
(float) SCR_HEIGHT / SCR_WIDTH * (float) canvas.height / canvas.width,
|
(float) SCR_HEIGHT / SCR_WIDTH * (float) canvas.height / canvas.width,
|
||||||
|
|
Loading…
Reference in a new issue