mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
refactor(es modules): temporary remove alias
This commit is contained in:
parent
4814bce58d
commit
4feed39d5c
68 changed files with 165 additions and 148 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import {UINT8_MAX, UINT16_MAX, UINT32_MAX} from "@/constants";
|
||||
import {UINT8_MAX, UINT16_MAX, UINT32_MAX} from "/src/constants";
|
||||
|
||||
export function last<T>(array: T[]) {
|
||||
return array[array.length - 1];
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import {P} from "@/utils/probabilityUtils";
|
||||
import {P} from "/src/utils/probabilityUtils";
|
||||
|
||||
// chars that serve as vowels
|
||||
const VOWELS = `aeiouyɑ'əøɛœæɶɒɨɪɔɐʊɤɯаоиеёэыуюяàèìòùỳẁȁȅȉȍȕáéíóúýẃőűâêîôûŷŵäëïöüÿẅãẽĩõũỹąęįǫųāēīōūȳăĕĭŏŭǎěǐǒǔȧėȯẏẇạẹịọụỵẉḛḭṵṳ`;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import {ERROR} from "@/config/logging";
|
||||
import {ERROR} from "/src/config/logging";
|
||||
import {minmax, rn} from "./numberUtils";
|
||||
|
||||
const d3 = window.d3;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import {rn} from "@/utils/numberUtils";
|
||||
import {rn} from "/src/utils/numberUtils";
|
||||
|
||||
// round numbers in string to d decimals
|
||||
export function round(str: string, d = 1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue