Explorar el Código

Allow AUs to be selected

tags/v0.1.0
Fen Dweller hace 5 años
padre
commit
131bba255f
Se han modificado 2 ficheros con 4 adiciones y 0 borrados
  1. +1
    -0
      macrovision.js
  2. +3
    -0
      presets/characters.js

+ 1
- 0
macrovision.js Ver fichero

@@ -33,6 +33,7 @@ const unitChoices = {
"feet",
"stories",
"miles",
"AUs",
"lightyears",
"parsecs",
],


+ 3
- 0
presets/characters.js Ver fichero

@@ -15,6 +15,9 @@ math.createUnit("lightyears", {
math.createUnit("AU", {
definition: "149597870700 meters"
})
math.createUnit("AUs", {
definition: "149597870700 meters"
})
function makeCharacter(name, author, viewInfo, defaultSizes, defaultSize, extraInfo) {
if (extraInfo === undefined) {
extraInfo = {}


Cargando…
Cancelar
Guardar