Parcourir la source

Add the new SI prefixes

Also reduce the minimum height for the world when manually entering
a size -- it used to be a nanometer. The minimum exists so that
the world size never becomes 0. Perhaps this should be changed.
master
Fen Dweller il y a 2 ans
Parent
révision
30ee13fe64
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +1
    -1
      macrovision.js
  2. +1
    -1
      math.min.js

+ 1
- 1
macrovision.js Voir le fichier

@@ -5992,7 +5992,7 @@ function updateWorldHeight() {
return;
}

const newHeight = Math.max(0.000000001, value);
const newHeight = Math.max(1e-40, value);
const oldHeight = config.height;

setWorldHeight(oldHeight, math.unit(newHeight, unit), true);


+ 1
- 1
math.min.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


Chargement…
Annuler
Enregistrer