mirror of
https://github.com/EyeTrackVR/EyeTrackVR.git
synced 2025-11-04 14:39:42 +08:00
fix y axis vis
This commit is contained in:
parent
1fe074f142
commit
e607f73b27
@ -297,15 +297,15 @@ class CameraWidget:
|
||||
):
|
||||
graph.update(background_color="white")
|
||||
|
||||
if eye_info.y < 0: # flip visualzation to be correct
|
||||
visy = abs(eye_info.y)
|
||||
elif eye_info.y >= 0:
|
||||
visy = -abs(eye_info.y)
|
||||
# if eye_info.y < 0: # flip visualzation to be correct
|
||||
# visy = abs(eye_info.y)
|
||||
# elif eye_info.y >= 0:
|
||||
# visy = -abs(eye_info.y)
|
||||
try:
|
||||
|
||||
graph.draw_circle(
|
||||
(eye_info.x * -100, visy * -100),
|
||||
25,
|
||||
(eye_info.x * -100, eye_info.y * -100),
|
||||
23,
|
||||
fill_color="black",
|
||||
line_color="white",
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user