From 09ac6ad4c4d2ec34ab6b8bc4d73c1374ab62dc60 Mon Sep 17 00:00:00 2001 From: Krow Savcik Date: Sun, 31 Dec 2023 15:29:50 +0200 Subject: feature: line toggling part 2 --- sim.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sim.c') diff --git a/sim.c b/sim.c index 638571d..a97907e 100644 --- a/sim.c +++ b/sim.c @@ -6,7 +6,7 @@ #include "draw.h" #include "types.h" -#define MOUSE_LOCK 1 +#define MOUSE_LOCK 0 float hfov, vfov; float PI; @@ -91,6 +91,7 @@ main_event() case SDLK_m: inp ^= 1024; break; case SDLK_i: add_obj_interactive(); break; case SDLK_r: redo_obj(); break; + case SDLK_t: drawlines ^= 1; break; case SDLK_EQUALS: s += 0.1; break; case SDLK_MINUS: s -= 0.1; break; } -- cgit v1.2.3