@ohuoy/easymap 1.1.8 → 1.1.10
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/old/CHANGELOG.md +665 -0
- package/old/LICENSE.txt +97 -0
- package/old/README.md +199 -0
- package/old/dist/threebox.min.js +0 -0
- package/old/exports.js +2 -0
- package/old/jz.json +497 -0
- package/old/main.js +10 -0
- package/old/package-lock.json +4638 -0
- package/old/package.json +44 -0
- package/old/server.stop.js +13 -0
- package/old/src/Threebox.js +1216 -0
- package/old/src/animation/AnimationManager.js +483 -0
- package/old/src/camera/CameraSync.js +302 -0
- package/old/src/objects/CSS2DRenderer.js +245 -0
- package/old/src/objects/LabelRenderer.js +71 -0
- package/old/src/objects/Object3D.js +34 -0
- package/old/src/objects/effects/BuildingShadows.js +115 -0
- package/old/src/objects/extrusion.js +61 -0
- package/old/src/objects/fflate.min.js +15 -0
- package/old/src/objects/label.js +29 -0
- package/old/src/objects/line.js +1386 -0
- package/old/src/objects/loadObj.js +142 -0
- package/old/src/objects/loaders/ColladaLoader.js +3751 -0
- package/old/src/objects/loaders/FBXLoader.js +3864 -0
- package/old/src/objects/loaders/GLTFLoader.js +3857 -0
- package/old/src/objects/loaders/MTLLoader.js +498 -0
- package/old/src/objects/loaders/OBJLoader.js +818 -0
- package/old/src/objects/objects.js +1113 -0
- package/old/src/objects/sphere.js +28 -0
- package/old/src/objects/tooltip.js +27 -0
- package/old/src/objects/tube.js +35 -0
- package/old/src/three.js +6 -0
- package/old/src/three.module.js +54572 -0
- package/old/src/utils/ValueGenerator.js +11 -0
- package/old/src/utils/constants.js +21 -0
- package/old/src/utils/material.js +52 -0
- package/old/src/utils/suncalc.js +322 -0
- package/old/src/utils/utils.js +424 -0
- package/old/src/utils/validate.js +115 -0
- package/old/threebox.min.js +367 -0
- package/package.json +1 -1
- package/src/components/control/TilesBar.js +1 -1
- package/src/components/layer/PathLineLayer.js +373 -4
package/old/jz.json
ADDED
|
@@ -0,0 +1,497 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 8,
|
|
3
|
+
"name": "mbchina",
|
|
4
|
+
"metadata": {
|
|
5
|
+
"mapbox:autocomposite": true,
|
|
6
|
+
"mapbox:thumb": "data:image/webp;base64,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",
|
|
7
|
+
"mapbox:uiParadigm": "imports",
|
|
8
|
+
"mapbox:sdk-support": {
|
|
9
|
+
"js": "3.6.0",
|
|
10
|
+
"android": "11.6.0",
|
|
11
|
+
"ios": "11.6.0"
|
|
12
|
+
},
|
|
13
|
+
"mapbox:groups": {},
|
|
14
|
+
"mapbox:uiExpandedImports": []
|
|
15
|
+
},
|
|
16
|
+
"center": [
|
|
17
|
+
124.04551473606097,
|
|
18
|
+
33.846960340275245
|
|
19
|
+
],
|
|
20
|
+
"zoom": 6.182803080557875,
|
|
21
|
+
"bearing": 0,
|
|
22
|
+
"pitch": 0,
|
|
23
|
+
"terrain": null,
|
|
24
|
+
"sources": {
|
|
25
|
+
"labelChina": {
|
|
26
|
+
"url": "https://gymap.gyquantum.com/tilesets/aanpagnp/tilejson",
|
|
27
|
+
"type": "vector"
|
|
28
|
+
},
|
|
29
|
+
"tielu": {
|
|
30
|
+
"url": "https://gymap.gyquantum.com/tilesets/tielu/tilejson",
|
|
31
|
+
"type": "vector"
|
|
32
|
+
},
|
|
33
|
+
"railways": {
|
|
34
|
+
"url": "https://gymap.gyquantum.com/tilesets/railways/tilejson",
|
|
35
|
+
"type": "vector"
|
|
36
|
+
},
|
|
37
|
+
"roadline": {
|
|
38
|
+
"url": "https://gymap.gyquantum.com/tilesets/roadline/tilejson",
|
|
39
|
+
"type": "vector"
|
|
40
|
+
},
|
|
41
|
+
"china": {
|
|
42
|
+
"url": "https://gymap.gyquantum.com/tilesets/chinalk/tilejson",
|
|
43
|
+
"type": "vector"
|
|
44
|
+
},
|
|
45
|
+
"chinaxzline": {
|
|
46
|
+
"url": "https://gymap.gyquantum.com/tilesets/chinaxzline/tilejson",
|
|
47
|
+
"type": "vector"
|
|
48
|
+
},
|
|
49
|
+
"provincePoint": {
|
|
50
|
+
"url": "https://gymap.gyquantum.com/tilesets/provincePoint/tilejson",
|
|
51
|
+
"type": "vector"
|
|
52
|
+
},
|
|
53
|
+
"worldlk2": {
|
|
54
|
+
"url": "https://gymap.gyquantum.com/tilesets/worldlk2/tilejson",
|
|
55
|
+
"type": "vector"
|
|
56
|
+
},
|
|
57
|
+
"worldwaterc": {
|
|
58
|
+
"url": "https://gymap.gyquantum.com/tilesets/worldwaterc/tilejson",
|
|
59
|
+
"type": "vector"
|
|
60
|
+
},
|
|
61
|
+
"landuse": {
|
|
62
|
+
"url": "https://gymap.gyquantum.com/tilesets/landuse/tilejson",
|
|
63
|
+
"type": "vector"
|
|
64
|
+
},
|
|
65
|
+
"transportarea": {
|
|
66
|
+
"url": "https://gymap.gyquantum.com/tilesets/transportarea/tilejson",
|
|
67
|
+
"type": "vector"
|
|
68
|
+
},
|
|
69
|
+
"roadpoint": {
|
|
70
|
+
"url": "https://gymap.gyquantum.com/tilesets/roadpoint/tilejson",
|
|
71
|
+
"type": "vector"
|
|
72
|
+
},
|
|
73
|
+
"waterpoint": {
|
|
74
|
+
"url": "https://gymap.gyquantum.com/tilesets/waterpoint/tilejson",
|
|
75
|
+
"type": "vector"
|
|
76
|
+
},
|
|
77
|
+
"poiarray": {
|
|
78
|
+
"url": "https://gymap.gyquantum.com/tilesets/poiarray/tilejson",
|
|
79
|
+
"type": "vector"
|
|
80
|
+
},
|
|
81
|
+
"railwaypoint": {
|
|
82
|
+
"url": "https://gymap.gyquantum.com/tilesets/railwaypoint/tilejson",
|
|
83
|
+
"type": "vector"
|
|
84
|
+
},
|
|
85
|
+
"yingxiang":{
|
|
86
|
+
"type":"raster",
|
|
87
|
+
"tiles":["https://gymap.gyquantum.com/tiandi/img_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}"],
|
|
88
|
+
"tileSize":256
|
|
89
|
+
},
|
|
90
|
+
"tianditu":{
|
|
91
|
+
"type":"raster",
|
|
92
|
+
"tiles":["https://gymap.gyquantum.com/tiandi/vec_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=vec&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}"],
|
|
93
|
+
"tileSize":256
|
|
94
|
+
},
|
|
95
|
+
"dixing":{
|
|
96
|
+
"type":"raster",
|
|
97
|
+
"tiles":["https://gymap.gyquantum.com/tiandi/ter_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=img&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}"],
|
|
98
|
+
"tileSize":256
|
|
99
|
+
},
|
|
100
|
+
"zhuji":{
|
|
101
|
+
"type":"raster",
|
|
102
|
+
"tiles":["https://gymap.gyquantum.com/tiandi/cva_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=cva&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}"],
|
|
103
|
+
"tileSize":256
|
|
104
|
+
},
|
|
105
|
+
"gaode":{
|
|
106
|
+
"type":"raster",
|
|
107
|
+
"tiles":["httpss://webrd04.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=7&x={x}&y={y}&z={z}"],
|
|
108
|
+
"tileSize":256
|
|
109
|
+
},
|
|
110
|
+
"arcgis":{
|
|
111
|
+
"type":"raster",
|
|
112
|
+
"tiles":["httpss://server.arcgisonline.com/arcgis/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}.png"],
|
|
113
|
+
"tileSize":256
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"sprite": "https://gymap.gyquantum.com/sprites/streets/sprite",
|
|
117
|
+
"glyphs": "https://gymap.gyquantum.com/fonts/{fontstack}/{range}.pbf",
|
|
118
|
+
"projection": {
|
|
119
|
+
"name": "globe"
|
|
120
|
+
},
|
|
121
|
+
"layers": [
|
|
122
|
+
{
|
|
123
|
+
"id": "background",
|
|
124
|
+
"type": "background",
|
|
125
|
+
"layout": {},
|
|
126
|
+
"paint": {
|
|
127
|
+
"background-emissive-strength": 1,
|
|
128
|
+
"background-color": "#3269c8"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"id": "worldlk2",
|
|
133
|
+
"source": "worldlk2",
|
|
134
|
+
"source-layer": "worldlk",
|
|
135
|
+
"type": "fill",
|
|
136
|
+
"layout": {},
|
|
137
|
+
"paint": {
|
|
138
|
+
"fill-color": "#b32342"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"id": "china",
|
|
143
|
+
"source": "china",
|
|
144
|
+
"source-layer": "china2",
|
|
145
|
+
"type": "fill",
|
|
146
|
+
"layout": {},
|
|
147
|
+
"paint": {
|
|
148
|
+
"fill-color": "#b32342"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"id": "landuse",
|
|
153
|
+
"source": "landuse",
|
|
154
|
+
"source-layer": "landuse",
|
|
155
|
+
"type": "fill",
|
|
156
|
+
"layout": {},
|
|
157
|
+
"paint": {
|
|
158
|
+
"fill-color":[
|
|
159
|
+
"interpolate",
|
|
160
|
+
["linear"],
|
|
161
|
+
["zoom"],
|
|
162
|
+
0,
|
|
163
|
+
"rgba(0, 0, 0, 0)",
|
|
164
|
+
10,
|
|
165
|
+
"rgba(0, 0, 0, 0)",
|
|
166
|
+
16.21,
|
|
167
|
+
[
|
|
168
|
+
"match",
|
|
169
|
+
["get", "fclass"],
|
|
170
|
+
["residential"],
|
|
171
|
+
"#e4edff",
|
|
172
|
+
[
|
|
173
|
+
"farmland",
|
|
174
|
+
"meadow",
|
|
175
|
+
"nature_reserve",
|
|
176
|
+
"vineyard",
|
|
177
|
+
"scrub",
|
|
178
|
+
"grass",
|
|
179
|
+
"forest"
|
|
180
|
+
],
|
|
181
|
+
"#b8f3a5",
|
|
182
|
+
["military"],
|
|
183
|
+
"#bfd2fb",
|
|
184
|
+
["industrial", "quarry"],
|
|
185
|
+
"#f3f8ff",
|
|
186
|
+
["retail", "commercial"],
|
|
187
|
+
"#e9f0ff",
|
|
188
|
+
"#e4edff"
|
|
189
|
+
],
|
|
190
|
+
22,
|
|
191
|
+
[
|
|
192
|
+
"match",
|
|
193
|
+
["get", "fclass"],
|
|
194
|
+
["residential"],
|
|
195
|
+
"#e4edff",
|
|
196
|
+
[
|
|
197
|
+
"farmland",
|
|
198
|
+
"meadow",
|
|
199
|
+
"nature_reserve",
|
|
200
|
+
"vineyard",
|
|
201
|
+
"orchard",
|
|
202
|
+
"scrub",
|
|
203
|
+
"grass",
|
|
204
|
+
"forest"
|
|
205
|
+
],
|
|
206
|
+
"#b8f3a5",
|
|
207
|
+
["military"],
|
|
208
|
+
"#bfd2fb",
|
|
209
|
+
["industrial", "quarry"],
|
|
210
|
+
"#f3f8ff",
|
|
211
|
+
["retail", "commercial"],
|
|
212
|
+
"#e9f0ff",
|
|
213
|
+
"#e4edff"
|
|
214
|
+
]
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
}, {
|
|
218
|
+
"id": "transportarea",
|
|
219
|
+
"source": "transportarea",
|
|
220
|
+
"source-layer": "transportarea",
|
|
221
|
+
"type": "fill",
|
|
222
|
+
"layout": {},
|
|
223
|
+
"paint": {
|
|
224
|
+
"fill-color":[
|
|
225
|
+
"interpolate",
|
|
226
|
+
["linear"],
|
|
227
|
+
["zoom"],
|
|
228
|
+
0,
|
|
229
|
+
"rgba(0, 0, 0, 0)",
|
|
230
|
+
10,
|
|
231
|
+
"rgba(0, 0, 0, 0)",
|
|
232
|
+
16.21,
|
|
233
|
+
"#e4edff",
|
|
234
|
+
22,
|
|
235
|
+
"#e4edff"
|
|
236
|
+
]
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"id": "worldwaterc",
|
|
241
|
+
"source": "worldwaterc",
|
|
242
|
+
"source-layer": "worldwaterc",
|
|
243
|
+
"type": "fill",
|
|
244
|
+
"layout": {},
|
|
245
|
+
"paint": {
|
|
246
|
+
"fill-color": [
|
|
247
|
+
"match",
|
|
248
|
+
["get", "Class"],
|
|
249
|
+
["ocean"],
|
|
250
|
+
"#6d8ee9",
|
|
251
|
+
["river"],
|
|
252
|
+
"#8da6e8",
|
|
253
|
+
[
|
|
254
|
+
"lake"
|
|
255
|
+
],
|
|
256
|
+
"#8da6e8",
|
|
257
|
+
[
|
|
258
|
+
"reservoir"
|
|
259
|
+
],
|
|
260
|
+
"#8da6e8",
|
|
261
|
+
"rgba(0, 0, 0, 0)"
|
|
262
|
+
]
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"id": "roadline",
|
|
267
|
+
"type": "line",
|
|
268
|
+
"source": "roadline",
|
|
269
|
+
"source-layer": "roadline",
|
|
270
|
+
"layout": {"line-join": "bevel"},
|
|
271
|
+
"paint": {
|
|
272
|
+
"line-color": "#214878",
|
|
273
|
+
"line-width": [
|
|
274
|
+
"match",
|
|
275
|
+
["get", "fclass"],
|
|
276
|
+
["secondary_link", "busway", "secondary"],
|
|
277
|
+
4,
|
|
278
|
+
[
|
|
279
|
+
"primary",
|
|
280
|
+
"trunk_link",
|
|
281
|
+
"tertiary_link",
|
|
282
|
+
"primary_link",
|
|
283
|
+
"motorway",
|
|
284
|
+
"motorway_link"
|
|
285
|
+
],
|
|
286
|
+
8,
|
|
287
|
+
1
|
|
288
|
+
],
|
|
289
|
+
"line-opacity": [
|
|
290
|
+
"interpolate",
|
|
291
|
+
["linear"],
|
|
292
|
+
["zoom"],
|
|
293
|
+
0,
|
|
294
|
+
0,
|
|
295
|
+
11.56,
|
|
296
|
+
0,
|
|
297
|
+
12.12,
|
|
298
|
+
1,
|
|
299
|
+
22,
|
|
300
|
+
1
|
|
301
|
+
]
|
|
302
|
+
}
|
|
303
|
+
}, {
|
|
304
|
+
"id": "railwaysline",
|
|
305
|
+
"type": "line",
|
|
306
|
+
"source": "railways",
|
|
307
|
+
"source-layer": "railwaysline",
|
|
308
|
+
"layout": {
|
|
309
|
+
"line-join": "round",
|
|
310
|
+
"line-miter-limit": 15,
|
|
311
|
+
"line-round-limit": 40
|
|
312
|
+
},
|
|
313
|
+
"paint": {
|
|
314
|
+
"line-emissive-strength": 1,
|
|
315
|
+
"line-width": [
|
|
316
|
+
"interpolate",
|
|
317
|
+
[
|
|
318
|
+
"linear"
|
|
319
|
+
],
|
|
320
|
+
[
|
|
321
|
+
"zoom"
|
|
322
|
+
],
|
|
323
|
+
0,
|
|
324
|
+
0,
|
|
325
|
+
5.43,
|
|
326
|
+
0,
|
|
327
|
+
8,
|
|
328
|
+
[
|
|
329
|
+
"match",
|
|
330
|
+
[
|
|
331
|
+
"get",
|
|
332
|
+
"fclass"
|
|
333
|
+
],
|
|
334
|
+
[
|
|
335
|
+
"subway",
|
|
336
|
+
"light_rail"
|
|
337
|
+
],
|
|
338
|
+
8,
|
|
339
|
+
10
|
|
340
|
+
],
|
|
341
|
+
22,
|
|
342
|
+
[
|
|
343
|
+
"match",
|
|
344
|
+
[
|
|
345
|
+
"get",
|
|
346
|
+
"fclass"
|
|
347
|
+
],
|
|
348
|
+
[
|
|
349
|
+
"subway","light_rail"
|
|
350
|
+
],
|
|
351
|
+
8,
|
|
352
|
+
10
|
|
353
|
+
]
|
|
354
|
+
],
|
|
355
|
+
"line-blur": 0,
|
|
356
|
+
"line-offset": 0,
|
|
357
|
+
"line-occlusion-opacity": 0,
|
|
358
|
+
"line-color": [
|
|
359
|
+
"match",
|
|
360
|
+
[
|
|
361
|
+
"get",
|
|
362
|
+
"fclass"
|
|
363
|
+
],
|
|
364
|
+
[
|
|
365
|
+
"subway"
|
|
366
|
+
],
|
|
367
|
+
"#63cff2",
|
|
368
|
+
["light_rail"],
|
|
369
|
+
"#caf263",
|
|
370
|
+
"rgba(255, 255, 255, 0)"
|
|
371
|
+
],
|
|
372
|
+
"line-pattern": [
|
|
373
|
+
"match",
|
|
374
|
+
[
|
|
375
|
+
"get",
|
|
376
|
+
"fclass"
|
|
377
|
+
],
|
|
378
|
+
[
|
|
379
|
+
"miniature_railway",
|
|
380
|
+
"monorail",
|
|
381
|
+
"narrow_gauge",
|
|
382
|
+
"rail"
|
|
383
|
+
],
|
|
384
|
+
[
|
|
385
|
+
"match",
|
|
386
|
+
[
|
|
387
|
+
"get",
|
|
388
|
+
"fclass"
|
|
389
|
+
],
|
|
390
|
+
[
|
|
391
|
+
"subway",
|
|
392
|
+
"light_rail",
|
|
393
|
+
"funicular",
|
|
394
|
+
"tram"
|
|
395
|
+
],
|
|
396
|
+
"dtb",
|
|
397
|
+
"tl"
|
|
398
|
+
],
|
|
399
|
+
"dtb"
|
|
400
|
+
],
|
|
401
|
+
"line-opacity":[
|
|
402
|
+
"interpolate",
|
|
403
|
+
["linear"],
|
|
404
|
+
["zoom"],
|
|
405
|
+
0,
|
|
406
|
+
[
|
|
407
|
+
"match",
|
|
408
|
+
["get", "fclass"],
|
|
409
|
+
[
|
|
410
|
+
"miniature_railway",
|
|
411
|
+
"monorail",
|
|
412
|
+
"narrow_gauge",
|
|
413
|
+
"rail"
|
|
414
|
+
],
|
|
415
|
+
0,
|
|
416
|
+
0
|
|
417
|
+
],
|
|
418
|
+
8.45,
|
|
419
|
+
0,
|
|
420
|
+
12,
|
|
421
|
+
0.3,
|
|
422
|
+
16,
|
|
423
|
+
0
|
|
424
|
+
]
|
|
425
|
+
}
|
|
426
|
+
},{
|
|
427
|
+
"id":"chinaxzline",
|
|
428
|
+
"type": "line",
|
|
429
|
+
"source": "chinaxzline",
|
|
430
|
+
"source-layer": "guojie",
|
|
431
|
+
"layout": {"line-join": "round", "line-round-limit": 0.8},
|
|
432
|
+
"paint": {
|
|
433
|
+
"line-color": [
|
|
434
|
+
"interpolate",
|
|
435
|
+
["linear"],
|
|
436
|
+
["zoom"],
|
|
437
|
+
0,
|
|
438
|
+
"#b3858c",
|
|
439
|
+
22,
|
|
440
|
+
"#b3858c"
|
|
441
|
+
]
|
|
442
|
+
}
|
|
443
|
+
},{
|
|
444
|
+
"id":"provincexzline",
|
|
445
|
+
"type": "line",
|
|
446
|
+
"source": "chinaxzline",
|
|
447
|
+
"source-layer": "provinceline",
|
|
448
|
+
"layout": {"line-join": "round", "line-round-limit": 0.8},
|
|
449
|
+
"paint": {
|
|
450
|
+
"line-color": [
|
|
451
|
+
"interpolate",
|
|
452
|
+
["linear"],
|
|
453
|
+
["zoom"],
|
|
454
|
+
0,
|
|
455
|
+
"#e9ebef",
|
|
456
|
+
5.74,
|
|
457
|
+
"#e9ebef",
|
|
458
|
+
22,
|
|
459
|
+
"#e9ebef"
|
|
460
|
+
]
|
|
461
|
+
}
|
|
462
|
+
},{
|
|
463
|
+
"id":"cityxzline",
|
|
464
|
+
"type": "line",
|
|
465
|
+
"source": "chinaxzline",
|
|
466
|
+
"source-layer": "cityline",
|
|
467
|
+
"layout": {"line-join": "round", "line-round-limit": 0.8},
|
|
468
|
+
"paint": {
|
|
469
|
+
"line-color": [
|
|
470
|
+
"interpolate",
|
|
471
|
+
["linear"],
|
|
472
|
+
["zoom"],
|
|
473
|
+
0,
|
|
474
|
+
"rgba(255, 255, 255, 0)",
|
|
475
|
+
5.74,
|
|
476
|
+
"rgba(255, 255, 255, 0)",
|
|
477
|
+
12,
|
|
478
|
+
"#e9ebef"
|
|
479
|
+
]
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"id": "zhuji",
|
|
484
|
+
"source": "zhuji",
|
|
485
|
+
"type": "raster"
|
|
486
|
+
}
|
|
487
|
+
],
|
|
488
|
+
"created": "2024-08-23T08:53:17.051Z",
|
|
489
|
+
"modified": "2024-08-26T05:37:41.054Z",
|
|
490
|
+
"id": "cm06h52ez00hy01pd0rc9gtr1",
|
|
491
|
+
"owner": "whitebulding",
|
|
492
|
+
"visibility": "private",
|
|
493
|
+
"protected": false,
|
|
494
|
+
"draft": true,
|
|
495
|
+
"theme":"light"
|
|
496
|
+
}
|
|
497
|
+
|
package/old/main.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* eslint-env node */
|
|
2
|
+
import ThreeboxMoudle from './src/Threebox.js'
|
|
3
|
+
import * as threejs from './src/three.module.js'
|
|
4
|
+
export const Threebox = ThreeboxMoudle;
|
|
5
|
+
export const THREE = threejs
|
|
6
|
+
export { ACESFilmicToneMapping, AddEquation, AddOperation, AdditiveAnimationBlendMode, AdditiveBlending, AgXToneMapping, AlphaFormat, AlwaysCompare, AlwaysDepth, AlwaysStencilFunc, AmbientLight, AnimationAction, AnimationClip, AnimationLoader, AnimationMixer, AnimationObjectGroup, AnimationUtils, ArcCurve, ArrayCamera, ArrowHelper, AttachedBindMode, Audio, AudioAnalyser, AudioContext, AudioListener, AudioLoader, AxesHelper, BackSide, BasicDepthPacking, BasicShadowMap, BatchedMesh, Bone, BooleanKeyframeTrack, Box2, Box3, Box3Helper, BoxGeometry, BoxHelper, BufferAttribute, BufferGeometry, BufferGeometryLoader, ByteType, Cache, Camera, CameraHelper, CanvasTexture, CapsuleGeometry, CatmullRomCurve3, CineonToneMapping, CircleGeometry, ClampToEdgeWrapping, Clock, Color, ColorKeyframeTrack, ColorManagement, CompressedArrayTexture, CompressedCubeTexture, CompressedTexture, CompressedTextureLoader, ConeGeometry, ConstantAlphaFactor, ConstantColorFactor, Controls, CubeCamera, CubeReflectionMapping, CubeRefractionMapping, CubeTexture, CubeTextureLoader, CubeUVReflectionMapping, CubicBezierCurve, CubicBezierCurve3, CubicInterpolant, CullFaceBack, CullFaceFront, CullFaceFrontBack, CullFaceNone, Curve, CurvePath, CustomBlending, CustomToneMapping, CylinderGeometry, Cylindrical, Data3DTexture, DataArrayTexture, DataTexture, DataTextureLoader, DataUtils, DecrementStencilOp, DecrementWrapStencilOp, DefaultLoadingManager, DepthFormat, DepthStencilFormat, DepthTexture, DetachedBindMode, DirectionalLight, DirectionalLightHelper, DiscreteInterpolant, DodecahedronGeometry, DoubleSide, DstAlphaFactor, DstColorFactor, DynamicCopyUsage, DynamicDrawUsage, DynamicReadUsage, EdgesGeometry, EllipseCurve, EqualCompare, EqualDepth, EqualStencilFunc, EquirectangularReflectionMapping, EquirectangularRefractionMapping, Euler, EventDispatcher, ExtrudeGeometry, FileLoader, Float16BufferAttribute, Float32BufferAttribute, FloatType, Fog, FogExp2, FramebufferTexture, FrontSide, Frustum, GLBufferAttribute, GLSL1, GLSL3, GreaterCompare, GreaterDepth, GreaterEqualCompare, GreaterEqualDepth, GreaterEqualStencilFunc, GreaterStencilFunc, GridHelper, Group, HalfFloatType, HemisphereLight, HemisphereLightHelper, IcosahedronGeometry, ImageBitmapLoader, ImageLoader, ImageUtils, IncrementStencilOp, IncrementWrapStencilOp, InstancedBufferAttribute, InstancedBufferGeometry, InstancedInterleavedBuffer, InstancedMesh, Int16BufferAttribute, Int32BufferAttribute, Int8BufferAttribute, IntType, InterleavedBuffer, InterleavedBufferAttribute, Interpolant, InterpolateDiscrete, InterpolateLinear, InterpolateSmooth, InvertStencilOp, KeepStencilOp, KeyframeTrack, LOD, LatheGeometry, Layers, LessCompare, LessDepth, LessEqualCompare, LessEqualDepth, LessEqualStencilFunc, LessStencilFunc, Light, LightProbe, Line, Line3, LineBasicMaterial, LineCurve, LineCurve3, LineDashedMaterial, LineLoop, LineSegments, LinearFilter, LinearInterpolant, LinearMipMapLinearFilter, LinearMipMapNearestFilter, LinearMipmapLinearFilter, LinearMipmapNearestFilter, LinearSRGBColorSpace, LinearToneMapping, LinearTransfer, Loader, LoaderUtils, LoadingManager, LoopOnce, LoopPingPong, LoopRepeat, LuminanceAlphaFormat, LuminanceFormat, MOUSE, Material, MaterialLoader, MathUtils, Matrix2, Matrix3, Matrix4, MaxEquation, Mesh, MeshBasicMaterial, MeshDepthMaterial, MeshDistanceMaterial, MeshLambertMaterial, MeshMatcapMaterial, MeshNormalMaterial, MeshPhongMaterial, MeshPhysicalMaterial, MeshStandardMaterial, MeshToonMaterial, MinEquation, MirroredRepeatWrapping, MixOperation, MultiplyBlending, MultiplyOperation, NearestFilter, NearestMipMapLinearFilter, NearestMipMapNearestFilter, NearestMipmapLinearFilter, NearestMipmapNearestFilter, NeutralToneMapping, NeverCompare, NeverDepth, NeverStencilFunc, NoBlending, NoColorSpace, NoToneMapping, NormalAnimationBlendMode, NormalBlending, NotEqualCompare, NotEqualDepth, NotEqualStencilFunc, NumberKeyframeTrack, Object3D, ObjectLoader, ObjectSpaceNormalMap, OctahedronGeometry, OneFactor, OneMinusConstantAlphaFactor, OneMinusConstantColorFactor, OneMinusDstAlphaFactor, OneMinusDstColorFactor, OneMinusSrcAlphaFactor, OneMinusSrcColorFactor, OrthographicCamera, PCFShadowMap, PCFSoftShadowMap, PMREMGenerator, Path, PerspectiveCamera, Plane, PlaneGeometry, PlaneHelper, PointLight, PointLightHelper, Points, PointsMaterial, PolarGridHelper, PolyhedronGeometry, PositionalAudio, PropertyBinding, PropertyMixer, QuadraticBezierCurve, QuadraticBezierCurve3, Quaternion, QuaternionKeyframeTrack, QuaternionLinearInterpolant, RED_GREEN_RGTC2_Format, RED_RGTC1_Format, REVISION, RGBADepthPacking, RGBAFormat, RGBAIntegerFormat, RGBA_ASTC_10x10_Format, RGBA_ASTC_10x5_Format, RGBA_ASTC_10x6_Format, RGBA_ASTC_10x8_Format, RGBA_ASTC_12x10_Format, RGBA_ASTC_12x12_Format, RGBA_ASTC_4x4_Format, RGBA_ASTC_5x4_Format, RGBA_ASTC_5x5_Format, RGBA_ASTC_6x5_Format, RGBA_ASTC_6x6_Format, RGBA_ASTC_8x5_Format, RGBA_ASTC_8x6_Format, RGBA_ASTC_8x8_Format, RGBA_BPTC_Format, RGBA_ETC2_EAC_Format, RGBA_PVRTC_2BPPV1_Format, RGBA_PVRTC_4BPPV1_Format, RGBA_S3TC_DXT1_Format, RGBA_S3TC_DXT3_Format, RGBA_S3TC_DXT5_Format, RGBDepthPacking, RGBFormat, RGBIntegerFormat, RGB_BPTC_SIGNED_Format, RGB_BPTC_UNSIGNED_Format, RGB_ETC1_Format, RGB_ETC2_Format, RGB_PVRTC_2BPPV1_Format, RGB_PVRTC_4BPPV1_Format, RGB_S3TC_DXT1_Format, RGDepthPacking, RGFormat, RGIntegerFormat, RawShaderMaterial, Ray, Raycaster, RectAreaLight, RedFormat, RedIntegerFormat, ReinhardToneMapping, RenderTarget, RepeatWrapping, ReplaceStencilOp, ReverseSubtractEquation, RingGeometry, SIGNED_RED_GREEN_RGTC2_Format, SIGNED_RED_RGTC1_Format, SRGBColorSpace, SRGBTransfer, Scene, ShaderChunk, ShaderLib, ShaderMaterial, ShadowMaterial, Shape, ShapeGeometry, ShapePath, ShapeUtils, ShortType, Skeleton, SkeletonHelper, SkinnedMesh, Source, Sphere, SphereGeometry, Spherical, SphericalHarmonics3, SplineCurve, SpotLight, SpotLightHelper, Sprite, SpriteMaterial, SrcAlphaFactor, SrcAlphaSaturateFactor, SrcColorFactor, StaticCopyUsage, StaticDrawUsage, StaticReadUsage, StereoCamera, StreamCopyUsage, StreamDrawUsage, StreamReadUsage, StringKeyframeTrack, SubtractEquation, SubtractiveBlending, TOUCH, TangentSpaceNormalMap, TetrahedronGeometry, Texture, TextureLoader, TextureUtils, TorusGeometry, TorusKnotGeometry, Triangle, TriangleFanDrawMode, TriangleStripDrawMode, TrianglesDrawMode, TubeGeometry, UVMapping, Uint16BufferAttribute, Uint32BufferAttribute, Uint8BufferAttribute, Uint8ClampedBufferAttribute, Uniform, UniformsGroup, UniformsLib, UniformsUtils, UnsignedByteType, UnsignedInt248Type, UnsignedInt5999Type, UnsignedIntType, UnsignedShort4444Type, UnsignedShort5551Type, UnsignedShortType, VSMShadowMap, Vector2, Vector3, Vector4, VectorKeyframeTrack, VideoTexture, WebGL3DRenderTarget, WebGLArrayRenderTarget, WebGLCoordinateSystem, WebGLCubeRenderTarget, WebGLMultipleRenderTargets, WebGLRenderTarget, WebGLRenderer, WebGLUtils, WebGPUCoordinateSystem, WireframeGeometry, WrapAroundEnding, ZeroCurvatureEnding, ZeroFactor, ZeroSlopeEnding, ZeroStencilOp, createCanvasElement } from './src/three.module.js';
|
|
7
|
+
|
|
8
|
+
// Threebox: Threebox,
|
|
9
|
+
// THREE:threejs
|
|
10
|
+
// } ;
|