Add basic planet collision
This commit is contained in:
parent
b02675f4fb
commit
09b3df649c
6 changed files with 42 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue