Add basic planet collision

This commit is contained in:
asraelite 2018-03-03 14:02:20 +00:00
parent b02675f4fb
commit 09b3df649c
6 changed files with 42 additions and 11 deletions

View file

@ -12,7 +12,7 @@ export const STAR_DENSITY = (SECTOR_SIZE ** 2) / 10000;
// G, G-boy, The big G, Mr. G, g's big brother, G-dog
export const GRAVITATIONAL_CONSTANT = 0.01;
// Perspective constraints. Higher zoom value = closer.
export const MIN_ZOOM = 2;
export const MIN_ZOOM = 1;
export const MAX_ZOOM = 30;
export const DEFAULT_ZOOM = 10;
export const ZOOM_SPEED = 0.01;