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;