From 538cb1cd010a3323ad61239a12a4134ef4dceca6 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 24 Feb 2020 10:28:41 +0800 Subject: *camera --- src/extern/wog.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/extern/wog.h') diff --git a/src/extern/wog.h b/src/extern/wog.h index f616d82..ba11556 100644 --- a/src/extern/wog.h +++ b/src/extern/wog.h @@ -42,8 +42,8 @@ enum // mouse button event, e.button value typedef struct wog_Event { int type; - union // event value - { + //union // event value + //{ int key; // for key, simply use windows virtual key value // see https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx struct // for mouse motion @@ -52,7 +52,7 @@ typedef struct wog_Event }pos; int wheel; // 1 indicate scroll up and -1 indicate scrool down int button; // mouse button - }; + //}; }wog_Event; typedef struct { -- cgit v1.1-26-g67d0