diff options
Diffstat (limited to 'client/global.gd')
-rw-r--r-- | client/global.gd | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/global.gd b/client/global.gd index 374f0e44..ce24f85d 100644 --- a/client/global.gd +++ b/client/global.gd @@ -268,3 +268,8 @@ func configure_viewport_aa(vp: Viewport, aa: String) -> void: "ms4x": vp.msaa_3d = Viewport.MSAA_4X vp.screen_space_aa = Viewport.SCREEN_SPACE_AA_DISABLED + +static func hand_to_index(h): + match h: + "left": return 0 + "right": return 1 |