1
0
Fork 0
Browse Source

feat: introduce gravity constant

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
combat-scorched-earth-from-outer-space
André Jaenisch 10 months ago
parent
commit
25ad417b3c
Signed by: ryuno-ki
GPG Key ID: 5A668E771F1ED854
  1. 3
      src/js/constants.js
  2. 1
      types/constants.d.ts

3
src/js/constants.js

@ -0,0 +1,3 @@
import { Vec2 } from './vector.js'
export const gravity = Vec2(0, 100)

1
types/constants.d.ts vendored

@ -0,0 +1 @@
export const gravity: import("./vector.js").Vector2D;
Loading…
Cancel
Save