From 590b84e32205c791caab6c54d93b79b8df34fc49 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Fri, 21 Jun 2024 22:16:05 +0530 Subject: [PATCH] feat: viewport constants --- src/constants/const.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/constants/const.ts diff --git a/src/constants/const.ts b/src/constants/const.ts new file mode 100644 index 00000000..8aec049e --- /dev/null +++ b/src/constants/const.ts @@ -0,0 +1,5 @@ +export const VIEWPORT_W = 1280; +export const VIEWPORT_H = 720; + +export const ONE_PERCENT_OF_VIEWPORT_W = VIEWPORT_W / 100; +export const ONE_PERCENT_OF_VIEWPORT_H = VIEWPORT_H / 100;