Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit 5375cd4

Browse files
committed
add temporary debugging log for test
1 parent 8b5d14d commit 5375cd4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

module/sources/window/WindowCallBack.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
#include "Buffer.hpp"
1010
#include "Inputs.hpp"
1111

12+
#include <iostream>
13+
1214
//sw::Input_buffer event_buffer;
1315

1416
SW_GRAPH_MODULE_EXPORT char current_key_flags[sw::Keyboard::LAST];
@@ -32,6 +34,10 @@ GLFWwindow *sw::Window::UpdateWindow()
3234

3335
previous_mouse_position = current_mouse_position;
3436
previous_mouse_scroll = current_mouse_scroll;
37+
38+
std::cout << "mouse x: " << previous_mouse_position.x << ", mouse y: " previous_mouse_position.y << std::endl;
39+
std::cout << "mouse scroll x axis: " << previous_mouse_scroll.x << ", mouse scroll y axis: " previous_mouse_scroll.y << std::endl;
40+
3541
//event_buffer.clear();
3642
glfwSwapBuffers(m_window);
3743
return (m_window);

0 commit comments

Comments
 (0)