@margoengine/terrain 0.0.0-stage → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/NOTICE +4 -0
- package/README.md +2366 -2
- package/dist/bed-mesh.d.ts +40 -0
- package/dist/bed-mesh.js +95 -0
- package/dist/blend.d.ts +70 -0
- package/dist/blend.js +159 -0
- package/dist/colors.d.ts +170 -0
- package/dist/deform.d.ts +134 -0
- package/dist/deform.js +404 -0
- package/dist/displace.d.ts +60 -0
- package/dist/displace.js +254 -0
- package/dist/dunes.d.ts +86 -0
- package/dist/dunes.js +88 -0
- package/dist/elevation.d.ts +182 -0
- package/dist/elevation.js +155 -0
- package/dist/errors-fc4i1pSL.js +7 -0
- package/dist/far.d.ts +66 -0
- package/dist/far.js +191 -0
- package/dist/furrows.d.ts +74 -0
- package/dist/furrows.js +157 -0
- package/dist/grid.d.ts +14 -0
- package/dist/ground-change-settings.d.ts +29 -0
- package/dist/ground-change-settings.js +69 -0
- package/dist/ground-change.d.ts +227 -0
- package/dist/ground-change.js +1412 -0
- package/dist/ground-contact-settings.d.ts +27 -0
- package/dist/ground-contact-settings.js +22 -0
- package/dist/ground-contact.d.ts +91 -0
- package/dist/ground-contact.js +241 -0
- package/dist/ground-model.d.ts +372 -0
- package/dist/hdr-format-DRhzGS7G.js +30 -0
- package/dist/height-grid.d.ts +65 -0
- package/dist/height-grid.js +74 -0
- package/dist/heightfield.d.ts +38 -0
- package/dist/holes.d.ts +37 -0
- package/dist/holes.js +97 -0
- package/dist/imagery.d.ts +109 -0
- package/dist/imagery.js +472 -0
- package/dist/index.d.ts +408 -0
- package/dist/index.js +1 -0
- package/dist/layers-pbr.d.ts +78 -0
- package/dist/layers-pbr.js +128 -0
- package/dist/lighting-layout-CaDtDa5G.js +34 -0
- package/dist/lighting-layout.d.ts +5 -0
- package/dist/mesh-patch-BThCHCeS.js +21 -0
- package/dist/mesh-patch.d.ts +14 -0
- package/dist/noise3-sQdnbz4B.js +11 -0
- package/dist/noise3.d.ts +3 -0
- package/dist/overlays.d.ts +74 -0
- package/dist/overlays.js +297 -0
- package/dist/planet-complex.d.ts +31 -0
- package/dist/planet-craters.d.ts +80 -0
- package/dist/planet-rays.d.ts +37 -0
- package/dist/planet-recipes.d.ts +84 -0
- package/dist/planet-recipes.js +442 -0
- package/dist/planet.d.ts +144 -0
- package/dist/planet.js +610 -0
- package/dist/query.d.ts +150 -0
- package/dist/query.js +243 -0
- package/dist/relief-lighting.d.ts +53 -0
- package/dist/relief-lighting.js +221 -0
- package/dist/require-webgpu--tUXPsmA.js +7 -0
- package/dist/rock-settings.d.ts +39 -0
- package/dist/rock-settings.js +84 -0
- package/dist/rock-surface.d.ts +114 -0
- package/dist/rock-surface.js +380 -0
- package/dist/rocks.d.ts +258 -0
- package/dist/rocks.js +488 -0
- package/dist/rvt.d.ts +136 -0
- package/dist/rvt.js +518 -0
- package/dist/scour.d.ts +90 -0
- package/dist/scour.js +153 -0
- package/dist/sculpt.d.ts +103 -0
- package/dist/sculpt.js +361 -0
- package/dist/settings-B9BSdnhD.js +72 -0
- package/dist/settings.d.ts +81 -0
- package/dist/settings.js +152 -0
- package/dist/shader.d.ts +176 -0
- package/dist/shared/settings.d.ts +89 -0
- package/dist/src-Cr7Gm4n0.js +1366 -0
- package/dist/stream-window.d.ts +123 -0
- package/dist/stream.d.ts +169 -0
- package/dist/stream.js +531 -0
- package/dist/surface-height.d.ts +16 -0
- package/dist/wet-ground.d.ts +82 -0
- package/dist/wet-ground.js +147 -0
- package/package.json +173 -4
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
// @margo/core-built 1.0.0
|
|
2
|
+
import {coreRequirement as __margoCoreRequirement,assertCore as __margoAssertCore} from '@margoengine/core/extension';
|
|
3
|
+
const o=(engine,version="1.0.0",source=import.meta.url)=>__margoRuntime(engine,version,source);
|
|
4
|
+
import { t as e } from "./require-webgpu--tUXPsmA.js";
|
|
5
|
+
import { a as t, c as n, l as r, o as i, t as a } from "./settings-B9BSdnhD.js";
|
|
6
|
+
import { engineRuntime as __margoRuntime } from "@margoengine/core/extension";
|
|
7
|
+
import { MargoError as s } from "@margoengine/math/errors";
|
|
8
|
+
//#region src/wet-ground.ts
|
|
9
|
+
var c = {
|
|
10
|
+
darkening: .55,
|
|
11
|
+
gloss: .5,
|
|
12
|
+
dryTime: 10800
|
|
13
|
+
}, l = {
|
|
14
|
+
darkening: [0, 1],
|
|
15
|
+
gloss: [0, 1],
|
|
16
|
+
dryTime: [1, 604800]
|
|
17
|
+
}, u = "@fragment fn fragment(i:Output)->@location(0) vec4f {", d = "fn terrainColor(position:vec3f,normal:vec3f)->vec3f {", f = (e, t) => Array.isArray(e) && e.length === 2 && e.every((e) => typeof e == "number" && Number.isFinite(e) && (!t || e > 0)), p = 0, m = class t {coreRequirement=__margoCoreRequirement("1.0.0",import.meta.url);
|
|
18
|
+
#e;
|
|
19
|
+
#t;
|
|
20
|
+
#n;
|
|
21
|
+
#r;
|
|
22
|
+
#i;
|
|
23
|
+
#a;
|
|
24
|
+
#o;
|
|
25
|
+
#s;
|
|
26
|
+
#c;
|
|
27
|
+
#l;
|
|
28
|
+
constructor(e, t) {
|
|
29
|
+
if (this.name = "wet-ground:" + p++, this.disposed = !1, this.#o = /* @__PURE__ */ new WeakMap(), this.#s = !0, this.#c = /* @__PURE__ */ new Float32Array(8), this.#l = /* @__PURE__ */ new Map(), !e || typeof e.addLighting != "function") throw TypeError("WetGround needs a clipmap Terrain (@margoengine/terrain); pass the terrain to attach");
|
|
30
|
+
if (!t || typeof t.record != "function") throw TypeError("WetGround needs record: a function returning the wetting record texture, such as () => flood.wetTexture");
|
|
31
|
+
if (!f(t.origin, !1) || !f(t.size, !0)) throw RangeError("WetGround needs a finite [x, z] origin and a positive finite [width, depth] size");
|
|
32
|
+
let n = t.binding ?? 116;
|
|
33
|
+
if (!Number.isInteger(n) || n < 0 || n > 998) throw RangeError("WetGround binding must be an integer 0 to 998");
|
|
34
|
+
this.#t = e, this.#e = t.record, this.origin = [t.origin[0], t.origin[1]], this.size = [t.size[0], t.size[1]], this.binding = n, this.look = { ...c }, this.setLook(t);
|
|
35
|
+
}
|
|
36
|
+
static attach(e, n, r) {__margoAssertCore(e,__margoCoreRequirement("1.0.0",import.meta.url));
|
|
37
|
+
let i = new t(n, r);
|
|
38
|
+
return o(e).use(i), i;
|
|
39
|
+
}
|
|
40
|
+
setLook(e) {
|
|
41
|
+
if (this.disposed) throw new s("disposed", "This WetGround was disposed; attach a new one");
|
|
42
|
+
let t = { ...this.look };
|
|
43
|
+
for (let n of Object.keys(l)) {
|
|
44
|
+
let r = e[n];
|
|
45
|
+
if (r === void 0) continue;
|
|
46
|
+
let [i, a] = l[n];
|
|
47
|
+
if (typeof r != "number" || !Number.isFinite(r) || r < i || r > a) throw RangeError(`WetGround ${n} must be a number from ${i} to ${a}`);
|
|
48
|
+
t[n] = r;
|
|
49
|
+
}
|
|
50
|
+
Object.assign(this.look, t), this.#s = !0;
|
|
51
|
+
}
|
|
52
|
+
wetness(e, t) {
|
|
53
|
+
return t * Math.exp(-e / this.look.dryTime);
|
|
54
|
+
}
|
|
55
|
+
get owner() {
|
|
56
|
+
return this.#n;
|
|
57
|
+
}
|
|
58
|
+
setup(t) {
|
|
59
|
+
if (e(t, "WetGround"), this.disposed) throw new s("disposed", "This WetGround was disposed; attach a new one");
|
|
60
|
+
this.#n = t, this.#u(t.gpu), this.#r ??= this.#t.addLighting(this);
|
|
61
|
+
}
|
|
62
|
+
onDeviceRestored(e) {
|
|
63
|
+
this.#u(e.gpu);
|
|
64
|
+
}
|
|
65
|
+
#u(e) {
|
|
66
|
+
this.#i = e.createBuffer({
|
|
67
|
+
size: 32,
|
|
68
|
+
usage: GPUBufferUsage.UNIFORM | GPUBufferUsage.COPY_DST
|
|
69
|
+
}), this.#a = e.createTexture({
|
|
70
|
+
size: [1, 1],
|
|
71
|
+
format: "rgba32float",
|
|
72
|
+
usage: GPUTextureUsage.TEXTURE_BINDING
|
|
73
|
+
}), this.#o = /* @__PURE__ */ new WeakMap(), this.#s = !0;
|
|
74
|
+
}
|
|
75
|
+
bindings() {
|
|
76
|
+
let e = this.#n?.gpu;
|
|
77
|
+
if (!e || !this.#i || !this.#a) return [];
|
|
78
|
+
if (this.#s) {
|
|
79
|
+
let t = this.look;
|
|
80
|
+
this.#c.set([
|
|
81
|
+
this.origin[0],
|
|
82
|
+
this.origin[1],
|
|
83
|
+
this.size[0],
|
|
84
|
+
this.size[1],
|
|
85
|
+
t.darkening,
|
|
86
|
+
t.gloss,
|
|
87
|
+
t.dryTime,
|
|
88
|
+
0
|
|
89
|
+
]), e.queue.writeBuffer(this.#i, 0, this.#c), this.#s = !1;
|
|
90
|
+
}
|
|
91
|
+
let t = this.#e(), n = t && t.format === "rgba32float" ? t : this.#a;
|
|
92
|
+
if (t && t.format !== "rgba32float") throw TypeError(`WetGround's record must be rgba32float (Flood.wetTexture), not ${t.format}`);
|
|
93
|
+
let r = this.#o.get(n);
|
|
94
|
+
return r || this.#o.set(n, r = n.createView()), [{
|
|
95
|
+
binding: this.binding,
|
|
96
|
+
resource: r
|
|
97
|
+
}, {
|
|
98
|
+
binding: this.binding + 1,
|
|
99
|
+
resource: { buffer: this.#i }
|
|
100
|
+
}];
|
|
101
|
+
}
|
|
102
|
+
shader(e, t) {
|
|
103
|
+
let n = t + e, r = this.#l.get(n);
|
|
104
|
+
if (r) return r;
|
|
105
|
+
if (e.split(u).length !== 2 || e.split(d).length !== 2) throw new s("unsupported", "WetGround needs the terrain's lit fragment shader and its terrainColor; attach it before effects that replace them");
|
|
106
|
+
let i = "_w" + this.name.slice(this.name.indexOf(":") + 1), a = this.binding, o = `
|
|
107
|
+
@group(${t}) @binding(${a}) var wetRecord${i}:texture_2d<f32>;
|
|
108
|
+
@group(${t}) @binding(${a + 1}) var<uniform> wetLook${i}:array<vec4f,2>;
|
|
109
|
+
fn wetTexel${i}(c:vec2i)->f32 {let r=textureLoad(wetRecord${i},c,0);return r.z*exp(-r.y/max(wetLook${i}[1].z,1.0));}
|
|
110
|
+
fn wetAt${i}(p:vec3f)->f32 {
|
|
111
|
+
let n=vec2i(textureDimensions(wetRecord${i}));let L=wetLook${i};let uv=(p.xz-L[0].xy)/L[0].zw;
|
|
112
|
+
if(any(uv<vec2f(0))||any(uv>vec2f(1))){return 0.0;}
|
|
113
|
+
let f=uv*vec2f(n)-0.5;let lo=clamp(vec2i(floor(f)),vec2i(0),n-1);let hi=min(lo+1,n-1);let w=clamp(f-floor(f),vec2f(0),vec2f(1));
|
|
114
|
+
return mix(mix(wetTexel${i}(lo),wetTexel${i}(vec2i(hi.x,lo.y)),w.x),mix(wetTexel${i}(vec2i(lo.x,hi.y)),wetTexel${i}(hi),w.x),w.y);
|
|
115
|
+
}
|
|
116
|
+
` + e.replace(d, `fn terrainColorDry${i}(position:vec3f,normal:vec3f)->vec3f {`).replace(u, `fn wetGroundInner${i}(i:Output)->vec4f {`) + `\n${d}return terrainColorDry${i}(position,normal)*mix(1.0,wetLook${i}[1].x,wetAt${i}(position));}\n${u}var j=i;j.material.x*=1.0-wetLook${i}[1].y*wetAt${i}(i.position);return wetGroundInner${i}(j);}`;
|
|
117
|
+
return this.#l.size >= 16 && this.#l.clear(), this.#l.set(n, o), o;
|
|
118
|
+
}
|
|
119
|
+
dispose() {
|
|
120
|
+
if (this.disposed) return;
|
|
121
|
+
this.disposed = !0, this.#r?.(), this.#r = void 0, this.#i?.destroy(), this.#a?.destroy(), this.#i = this.#a = void 0, this.#l.clear();
|
|
122
|
+
let e = this.#n;
|
|
123
|
+
this.#n = void 0, this.#t = void 0, e?.sceneOf(this)?.removePlugin(this.name);
|
|
124
|
+
}
|
|
125
|
+
[Symbol.dispose ?? Symbol()]() {
|
|
126
|
+
this.dispose();
|
|
127
|
+
}
|
|
128
|
+
}, h = (e, t, n, r, a, o, s) => i(e, "wet", t, n, r, a, o, s), g = [
|
|
129
|
+
h("wet.darkening", c.darkening, 0, 1, .01, "", "Albedo of fully wet ground as a share of dry (1 is no darkening)."),
|
|
130
|
+
h("wet.gloss", c.gloss, 0, 1, .01, "", "Share by which fully wet ground is smoother (shinier)."),
|
|
131
|
+
h("wet.dryTime", c.dryTime, 1, 604800, 1, "s", "Seconds over which wet ground dries to 1/e once the water has gone.")
|
|
132
|
+
], _ = t(g), v = r(g), y = {
|
|
133
|
+
"wet.darkening": "darkening",
|
|
134
|
+
"wet.gloss": "gloss",
|
|
135
|
+
"wet.dryTime": "dryTime"
|
|
136
|
+
};
|
|
137
|
+
function b() {
|
|
138
|
+
return n(g);
|
|
139
|
+
}
|
|
140
|
+
function x(e, t = {}) {
|
|
141
|
+
a(v, t, "wet ground", "the rows of WET_GROUND_SETTINGS in @margoengine/terrain/wet-ground");
|
|
142
|
+
let n = {};
|
|
143
|
+
for (let [e, r] of Object.entries(t)) n[y[e]] = r;
|
|
144
|
+
e.setLook(n);
|
|
145
|
+
}
|
|
146
|
+
//#endregion
|
|
147
|
+
export { _ as WET_GROUND_LIVE_SETTINGS, g as WET_GROUND_SETTINGS, m as WetGround, x as applyWetGroundSettings, b as wetGroundSettingDefaults };
|
package/package.json
CHANGED
|
@@ -1,6 +1,175 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@margoengine/terrain",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Geometry clipmaps and triplanar terrain layers.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"margoengine",
|
|
7
|
+
"webgpu",
|
|
8
|
+
"3d",
|
|
9
|
+
"terrain"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://margoengine.com",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/scottcampbelldata/margoengine/issues"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/scottcampbelldata/margoengine.git",
|
|
18
|
+
"directory": "packages/terrain"
|
|
19
|
+
},
|
|
20
|
+
"license": "Apache-2.0",
|
|
21
|
+
"author": "Scott Campbell",
|
|
22
|
+
"type": "module",
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@margoengine/geometry": "^1.0.0",
|
|
28
|
+
"@margoengine/math": "^1.0.0",
|
|
29
|
+
"@margoengine/procedural": "^1.0.0"
|
|
30
|
+
},
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "node ../../scripts/build-optional.js terrain",
|
|
33
|
+
"test": "npm run build && node --test test/*.test.js ../../examples/package-benchmarks/proofs/package-guard.mjs",
|
|
34
|
+
"prepack": "npm --prefix ../.. run build:packages",
|
|
35
|
+
"test:gpu": "cd ../.. && node packages/terrain/test/wetness.browser.mjs && node packages/terrain/test/edge.browser.mjs && node packages/terrain/test/seams.browser.mjs && node packages/terrain/test/clipmap-anchor.browser.mjs && node packages/terrain/test/surface-height.browser.mjs && node packages/terrain/test/bump.browser.mjs && node packages/terrain/test/anisotropy.browser.mjs && node packages/terrain/test/sand.browser.mjs && node packages/terrain/test/sand-footprint.browser.mjs && node packages/terrain/test/crest.browser.mjs && node packages/terrain/test/teeth.browser.mjs && node packages/terrain/test/query.browser.mjs && node packages/terrain/test/layers-pbr.browser.mjs && node packages/terrain/test/stream.browser.mjs && node packages/terrain/test/far.browser.mjs && node packages/terrain/test/sculpt.browser.mjs && node packages/terrain/test/holes.browser.mjs && node packages/terrain/test/rvt.browser.mjs",
|
|
36
|
+
"test:gpu:displace": "cd ../.. && node packages/terrain/test/displace.browser.mjs && node packages/terrain/test/displace-shadows.browser.mjs && node packages/terrain/test/deform.browser.mjs && node packages/terrain/test/deform-mesh.browser.mjs && node packages/terrain/test/blend.browser.mjs && node packages/terrain/test/patches.browser.mjs && node packages/terrain/test/rock-structure.browser.mjs && node packages/terrain/test/compat.browser.mjs",
|
|
37
|
+
"test:gpu:planet": "cd ../.. && node packages/terrain/test/planet.browser.mjs && node packages/terrain/test/imagery.browser.mjs && node packages/terrain/test/overlays.browser.mjs && node packages/terrain/test/origin.browser.mjs && node packages/terrain/test/planet-recipes.browser.mjs",
|
|
38
|
+
"test:gpu:ground": "cd ../.. && node packages/terrain/test/ground-change.browser.mjs && node packages/terrain/test/ground-change-terrain.browser.mjs && node packages/terrain/test/ground-change-scatter.browser.mjs && node packages/terrain/test/wet-ground.browser.mjs && node packages/terrain/test/ground-contact.browser.mjs",
|
|
39
|
+
"test:gpu:relief": "cd ../.. && node packages/terrain/test/rocks.browser.mjs && node packages/terrain/test/relief-lighting.browser.mjs && node packages/terrain/test/sky-ambient.browser.mjs"
|
|
40
|
+
},
|
|
41
|
+
"sideEffects": false,
|
|
42
|
+
"exports": {
|
|
43
|
+
".": {
|
|
44
|
+
"types": "./dist/index.d.ts",
|
|
45
|
+
"import": "./dist/index.js"
|
|
46
|
+
},
|
|
47
|
+
"./query": {
|
|
48
|
+
"types": "./dist/query.d.ts",
|
|
49
|
+
"import": "./dist/query.js"
|
|
50
|
+
},
|
|
51
|
+
"./layers-pbr": {
|
|
52
|
+
"types": "./dist/layers-pbr.d.ts",
|
|
53
|
+
"import": "./dist/layers-pbr.js"
|
|
54
|
+
},
|
|
55
|
+
"./far": {
|
|
56
|
+
"types": "./dist/far.d.ts",
|
|
57
|
+
"import": "./dist/far.js"
|
|
58
|
+
},
|
|
59
|
+
"./stream": {
|
|
60
|
+
"types": "./dist/stream.d.ts",
|
|
61
|
+
"import": "./dist/stream.js"
|
|
62
|
+
},
|
|
63
|
+
"./sculpt": {
|
|
64
|
+
"types": "./dist/sculpt.d.ts",
|
|
65
|
+
"import": "./dist/sculpt.js"
|
|
66
|
+
},
|
|
67
|
+
"./holes": {
|
|
68
|
+
"types": "./dist/holes.d.ts",
|
|
69
|
+
"import": "./dist/holes.js"
|
|
70
|
+
},
|
|
71
|
+
"./rvt": {
|
|
72
|
+
"types": "./dist/rvt.d.ts",
|
|
73
|
+
"import": "./dist/rvt.js"
|
|
74
|
+
},
|
|
75
|
+
"./displace": {
|
|
76
|
+
"types": "./dist/displace.d.ts",
|
|
77
|
+
"import": "./dist/displace.js"
|
|
78
|
+
},
|
|
79
|
+
"./deform": {
|
|
80
|
+
"types": "./dist/deform.d.ts",
|
|
81
|
+
"import": "./dist/deform.js"
|
|
82
|
+
},
|
|
83
|
+
"./settings": {
|
|
84
|
+
"types": "./dist/settings.d.ts",
|
|
85
|
+
"import": "./dist/settings.js"
|
|
86
|
+
},
|
|
87
|
+
"./scour": {
|
|
88
|
+
"types": "./dist/scour.d.ts",
|
|
89
|
+
"import": "./dist/scour.js"
|
|
90
|
+
},
|
|
91
|
+
"./dunes": {
|
|
92
|
+
"types": "./dist/dunes.d.ts",
|
|
93
|
+
"import": "./dist/dunes.js"
|
|
94
|
+
},
|
|
95
|
+
"./blend": {
|
|
96
|
+
"types": "./dist/blend.d.ts",
|
|
97
|
+
"import": "./dist/blend.js"
|
|
98
|
+
},
|
|
99
|
+
"./height-grid": {
|
|
100
|
+
"types": "./dist/height-grid.d.ts",
|
|
101
|
+
"import": "./dist/height-grid.js"
|
|
102
|
+
},
|
|
103
|
+
"./elevation": {
|
|
104
|
+
"types": "./dist/elevation.d.ts",
|
|
105
|
+
"import": "./dist/elevation.js"
|
|
106
|
+
},
|
|
107
|
+
"./planet-recipes": {
|
|
108
|
+
"types": "./dist/planet-recipes.d.ts",
|
|
109
|
+
"import": "./dist/planet-recipes.js"
|
|
110
|
+
},
|
|
111
|
+
"./planet": {
|
|
112
|
+
"types": "./dist/planet.d.ts",
|
|
113
|
+
"import": "./dist/planet.js"
|
|
114
|
+
},
|
|
115
|
+
"./imagery": {
|
|
116
|
+
"types": "./dist/imagery.d.ts",
|
|
117
|
+
"import": "./dist/imagery.js"
|
|
118
|
+
},
|
|
119
|
+
"./overlays": {
|
|
120
|
+
"types": "./dist/overlays.d.ts",
|
|
121
|
+
"import": "./dist/overlays.js"
|
|
122
|
+
},
|
|
123
|
+
"./ground-change": {
|
|
124
|
+
"types": "./dist/ground-change.d.ts",
|
|
125
|
+
"import": "./dist/ground-change.js"
|
|
126
|
+
},
|
|
127
|
+
"./furrows": {
|
|
128
|
+
"types": "./dist/furrows.d.ts",
|
|
129
|
+
"import": "./dist/furrows.js"
|
|
130
|
+
},
|
|
131
|
+
"./ground-change-settings": {
|
|
132
|
+
"types": "./dist/ground-change-settings.d.ts",
|
|
133
|
+
"import": "./dist/ground-change-settings.js"
|
|
134
|
+
},
|
|
135
|
+
"./relief-lighting": {
|
|
136
|
+
"types": "./dist/relief-lighting.d.ts",
|
|
137
|
+
"import": "./dist/relief-lighting.js"
|
|
138
|
+
},
|
|
139
|
+
"./wet-ground": {
|
|
140
|
+
"types": "./dist/wet-ground.d.ts",
|
|
141
|
+
"import": "./dist/wet-ground.js"
|
|
142
|
+
},
|
|
143
|
+
"./ground-contact": {
|
|
144
|
+
"types": "./dist/ground-contact.d.ts",
|
|
145
|
+
"import": "./dist/ground-contact.js"
|
|
146
|
+
},
|
|
147
|
+
"./ground-contact-settings": {
|
|
148
|
+
"types": "./dist/ground-contact-settings.d.ts",
|
|
149
|
+
"import": "./dist/ground-contact-settings.js"
|
|
150
|
+
},
|
|
151
|
+
"./rocks": {
|
|
152
|
+
"types": "./dist/rocks.d.ts",
|
|
153
|
+
"import": "./dist/rocks.js"
|
|
154
|
+
},
|
|
155
|
+
"./rock-surface": {
|
|
156
|
+
"types": "./dist/rock-surface.d.ts",
|
|
157
|
+
"import": "./dist/rock-surface.js"
|
|
158
|
+
},
|
|
159
|
+
"./rock-settings": {
|
|
160
|
+
"types": "./dist/rock-settings.d.ts",
|
|
161
|
+
"import": "./dist/rock-settings.js"
|
|
162
|
+
},
|
|
163
|
+
"./bed": {
|
|
164
|
+
"types": "./dist/bed-mesh.d.ts",
|
|
165
|
+
"import": "./dist/bed-mesh.js"
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"files": [
|
|
169
|
+
"dist",
|
|
170
|
+
"NOTICE"
|
|
171
|
+
],
|
|
172
|
+
"peerDependencies": {
|
|
173
|
+
"@margoengine/core": "^1.0.0"
|
|
174
|
+
}
|
|
175
|
+
}
|