feat: viewport constants
This commit is contained in:
5
src/constants/const.ts
Normal file
5
src/constants/const.ts
Normal file
@@ -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;
|
||||||
Reference in New Issue
Block a user