gm-builds 4.3.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/README.md +59 -0
- package/dist/gm.min.css +1 -0
- package/dist/gm.min.js +16269 -0
- package/dist/gm.module.js +32 -0
- package/dist/index.js +16267 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_27.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1 -0
- package/dist/resources/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1 -0
- package/dist/resources/Assets/Images/bing_maps_credit.png +0 -0
- package/dist/resources/Assets/Images/cesium_credit.png +0 -0
- package/dist/resources/Assets/Images/google_earth_credit.png +0 -0
- package/dist/resources/Assets/Images/ion-credit.png +0 -0
- package/dist/resources/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
- package/dist/resources/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
- package/dist/resources/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
- package/dist/resources/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
- package/dist/resources/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
- package/dist/resources/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
- package/dist/resources/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
- package/dist/resources/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
- package/dist/resources/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
- package/dist/resources/Assets/Textures/maki/airfield.png +0 -0
- package/dist/resources/Assets/Textures/maki/airport.png +0 -0
- package/dist/resources/Assets/Textures/maki/alcohol-shop.png +0 -0
- package/dist/resources/Assets/Textures/maki/america-football.png +0 -0
- package/dist/resources/Assets/Textures/maki/art-gallery.png +0 -0
- package/dist/resources/Assets/Textures/maki/bakery.png +0 -0
- package/dist/resources/Assets/Textures/maki/bank.png +0 -0
- package/dist/resources/Assets/Textures/maki/bar.png +0 -0
- package/dist/resources/Assets/Textures/maki/baseball.png +0 -0
- package/dist/resources/Assets/Textures/maki/basketball.png +0 -0
- package/dist/resources/Assets/Textures/maki/beer.png +0 -0
- package/dist/resources/Assets/Textures/maki/bicycle.png +0 -0
- package/dist/resources/Assets/Textures/maki/building.png +0 -0
- package/dist/resources/Assets/Textures/maki/bus.png +0 -0
- package/dist/resources/Assets/Textures/maki/cafe.png +0 -0
- package/dist/resources/Assets/Textures/maki/camera.png +0 -0
- package/dist/resources/Assets/Textures/maki/campsite.png +0 -0
- package/dist/resources/Assets/Textures/maki/car.png +0 -0
- package/dist/resources/Assets/Textures/maki/cemetery.png +0 -0
- package/dist/resources/Assets/Textures/maki/cesium.png +0 -0
- package/dist/resources/Assets/Textures/maki/chemist.png +0 -0
- package/dist/resources/Assets/Textures/maki/cinema.png +0 -0
- package/dist/resources/Assets/Textures/maki/circle-stroked.png +0 -0
- package/dist/resources/Assets/Textures/maki/circle.png +0 -0
- package/dist/resources/Assets/Textures/maki/city.png +0 -0
- package/dist/resources/Assets/Textures/maki/clothing-store.png +0 -0
- package/dist/resources/Assets/Textures/maki/college.png +0 -0
- package/dist/resources/Assets/Textures/maki/commercial.png +0 -0
- package/dist/resources/Assets/Textures/maki/cricket.png +0 -0
- package/dist/resources/Assets/Textures/maki/cross.png +0 -0
- package/dist/resources/Assets/Textures/maki/dam.png +0 -0
- package/dist/resources/Assets/Textures/maki/danger.png +0 -0
- package/dist/resources/Assets/Textures/maki/disability.png +0 -0
- package/dist/resources/Assets/Textures/maki/dog-park.png +0 -0
- package/dist/resources/Assets/Textures/maki/embassy.png +0 -0
- package/dist/resources/Assets/Textures/maki/emergency-telephone.png +0 -0
- package/dist/resources/Assets/Textures/maki/entrance.png +0 -0
- package/dist/resources/Assets/Textures/maki/farm.png +0 -0
- package/dist/resources/Assets/Textures/maki/fast-food.png +0 -0
- package/dist/resources/Assets/Textures/maki/ferry.png +0 -0
- package/dist/resources/Assets/Textures/maki/fire-station.png +0 -0
- package/dist/resources/Assets/Textures/maki/fuel.png +0 -0
- package/dist/resources/Assets/Textures/maki/garden.png +0 -0
- package/dist/resources/Assets/Textures/maki/gift.png +0 -0
- package/dist/resources/Assets/Textures/maki/golf.png +0 -0
- package/dist/resources/Assets/Textures/maki/grocery.png +0 -0
- package/dist/resources/Assets/Textures/maki/hairdresser.png +0 -0
- package/dist/resources/Assets/Textures/maki/harbor.png +0 -0
- package/dist/resources/Assets/Textures/maki/heart.png +0 -0
- package/dist/resources/Assets/Textures/maki/heliport.png +0 -0
- package/dist/resources/Assets/Textures/maki/hospital.png +0 -0
- package/dist/resources/Assets/Textures/maki/ice-cream.png +0 -0
- package/dist/resources/Assets/Textures/maki/industrial.png +0 -0
- package/dist/resources/Assets/Textures/maki/land-use.png +0 -0
- package/dist/resources/Assets/Textures/maki/laundry.png +0 -0
- package/dist/resources/Assets/Textures/maki/library.png +0 -0
- package/dist/resources/Assets/Textures/maki/lighthouse.png +0 -0
- package/dist/resources/Assets/Textures/maki/lodging.png +0 -0
- package/dist/resources/Assets/Textures/maki/logging.png +0 -0
- package/dist/resources/Assets/Textures/maki/london-underground.png +0 -0
- package/dist/resources/Assets/Textures/maki/marker-stroked.png +0 -0
- package/dist/resources/Assets/Textures/maki/marker.png +0 -0
- package/dist/resources/Assets/Textures/maki/minefield.png +0 -0
- package/dist/resources/Assets/Textures/maki/mobilephone.png +0 -0
- package/dist/resources/Assets/Textures/maki/monument.png +0 -0
- package/dist/resources/Assets/Textures/maki/museum.png +0 -0
- package/dist/resources/Assets/Textures/maki/music.png +0 -0
- package/dist/resources/Assets/Textures/maki/oil-well.png +0 -0
- package/dist/resources/Assets/Textures/maki/park.png +0 -0
- package/dist/resources/Assets/Textures/maki/park2.png +0 -0
- package/dist/resources/Assets/Textures/maki/parking-garage.png +0 -0
- package/dist/resources/Assets/Textures/maki/parking.png +0 -0
- package/dist/resources/Assets/Textures/maki/pharmacy.png +0 -0
- package/dist/resources/Assets/Textures/maki/pitch.png +0 -0
- package/dist/resources/Assets/Textures/maki/place-of-worship.png +0 -0
- package/dist/resources/Assets/Textures/maki/playground.png +0 -0
- package/dist/resources/Assets/Textures/maki/police.png +0 -0
- package/dist/resources/Assets/Textures/maki/polling-place.png +0 -0
- package/dist/resources/Assets/Textures/maki/post.png +0 -0
- package/dist/resources/Assets/Textures/maki/prison.png +0 -0
- package/dist/resources/Assets/Textures/maki/rail-above.png +0 -0
- package/dist/resources/Assets/Textures/maki/rail-light.png +0 -0
- package/dist/resources/Assets/Textures/maki/rail-metro.png +0 -0
- package/dist/resources/Assets/Textures/maki/rail-underground.png +0 -0
- package/dist/resources/Assets/Textures/maki/rail.png +0 -0
- package/dist/resources/Assets/Textures/maki/religious-christian.png +0 -0
- package/dist/resources/Assets/Textures/maki/religious-jewish.png +0 -0
- package/dist/resources/Assets/Textures/maki/religious-muslim.png +0 -0
- package/dist/resources/Assets/Textures/maki/restaurant.png +0 -0
- package/dist/resources/Assets/Textures/maki/roadblock.png +0 -0
- package/dist/resources/Assets/Textures/maki/rocket.png +0 -0
- package/dist/resources/Assets/Textures/maki/school.png +0 -0
- package/dist/resources/Assets/Textures/maki/scooter.png +0 -0
- package/dist/resources/Assets/Textures/maki/shop.png +0 -0
- package/dist/resources/Assets/Textures/maki/skiing.png +0 -0
- package/dist/resources/Assets/Textures/maki/slaughterhouse.png +0 -0
- package/dist/resources/Assets/Textures/maki/soccer.png +0 -0
- package/dist/resources/Assets/Textures/maki/square-stroked.png +0 -0
- package/dist/resources/Assets/Textures/maki/square.png +0 -0
- package/dist/resources/Assets/Textures/maki/star-stroked.png +0 -0
- package/dist/resources/Assets/Textures/maki/star.png +0 -0
- package/dist/resources/Assets/Textures/maki/suitcase.png +0 -0
- package/dist/resources/Assets/Textures/maki/swimming.png +0 -0
- package/dist/resources/Assets/Textures/maki/telephone.png +0 -0
- package/dist/resources/Assets/Textures/maki/tennis.png +0 -0
- package/dist/resources/Assets/Textures/maki/theatre.png +0 -0
- package/dist/resources/Assets/Textures/maki/toilets.png +0 -0
- package/dist/resources/Assets/Textures/maki/town-hall.png +0 -0
- package/dist/resources/Assets/Textures/maki/town.png +0 -0
- package/dist/resources/Assets/Textures/maki/triangle-stroked.png +0 -0
- package/dist/resources/Assets/Textures/maki/triangle.png +0 -0
- package/dist/resources/Assets/Textures/maki/village.png +0 -0
- package/dist/resources/Assets/Textures/maki/warehouse.png +0 -0
- package/dist/resources/Assets/Textures/maki/waste-basket.png +0 -0
- package/dist/resources/Assets/Textures/maki/water.png +0 -0
- package/dist/resources/Assets/Textures/maki/wetland.png +0 -0
- package/dist/resources/Assets/Textures/maki/zoo.png +0 -0
- package/dist/resources/Assets/Textures/moonSmall.jpg +0 -0
- package/dist/resources/Assets/Textures/pin.svg +1 -0
- package/dist/resources/Assets/Textures/waterNormals.jpg +0 -0
- package/dist/resources/Assets/Textures/waterNormalsSmall.jpg +0 -0
- package/dist/resources/Assets/approximateTerrainHeights.json +1 -0
- package/dist/resources/ThirdParty/Workers/basis_transcoder.js +21 -0
- package/dist/resources/ThirdParty/Workers/package.json +1 -0
- package/dist/resources/ThirdParty/Workers/pako_deflate.min.js +2 -0
- package/dist/resources/ThirdParty/Workers/pako_inflate.min.js +2 -0
- package/dist/resources/ThirdParty/Workers/z-worker-pako.js +1 -0
- package/dist/resources/ThirdParty/basis_transcoder.wasm +0 -0
- package/dist/resources/ThirdParty/draco_decoder.wasm +0 -0
- package/dist/resources/ThirdParty/google-earth-dbroot-parser.js +8337 -0
- package/dist/resources/Workers/chunk-3JBEPBPL.js +390 -0
- package/dist/resources/Workers/chunk-3LYROPON.js +781 -0
- package/dist/resources/Workers/chunk-3PIZQT3I.js +305 -0
- package/dist/resources/Workers/chunk-3QLSKXKF.js +456 -0
- package/dist/resources/Workers/chunk-4CHMVQTQ.js +138 -0
- package/dist/resources/Workers/chunk-5KWRW7YL.js +58 -0
- package/dist/resources/Workers/chunk-5S5OOA6U.js +37 -0
- package/dist/resources/Workers/chunk-77XPS7ZA.js +758 -0
- package/dist/resources/Workers/chunk-7EO56M5R.js +1800 -0
- package/dist/resources/Workers/chunk-7UHKH6M3.js +634 -0
- package/dist/resources/Workers/chunk-7ZB2RVIQ.js +834 -0
- package/dist/resources/Workers/chunk-B4GSRXE3.js +157 -0
- package/dist/resources/Workers/chunk-CI2HEJFC.js +1481 -0
- package/dist/resources/Workers/chunk-D7ZBZPHV.js +139 -0
- package/dist/resources/Workers/chunk-DT5NFR5C.js +239 -0
- package/dist/resources/Workers/chunk-ED6GLQTK.js +629 -0
- package/dist/resources/Workers/chunk-EWDGNOJE.js +1258 -0
- package/dist/resources/Workers/chunk-F4CUH4MR.js +500 -0
- package/dist/resources/Workers/chunk-FFBJDW4A.js +196 -0
- package/dist/resources/Workers/chunk-FX4R4MTH.js +115 -0
- package/dist/resources/Workers/chunk-FYGLNDKG.js +963 -0
- package/dist/resources/Workers/chunk-G3BVMPWG.js +101 -0
- package/dist/resources/Workers/chunk-HEZHXDYB.js +55 -0
- package/dist/resources/Workers/chunk-HKHQ3EDR.js +102 -0
- package/dist/resources/Workers/chunk-HUFQVUMY.js +300 -0
- package/dist/resources/Workers/chunk-J7IH4EYI.js +220 -0
- package/dist/resources/Workers/chunk-JHBPC4LK.js +435 -0
- package/dist/resources/Workers/chunk-JPDKYBLF.js +511 -0
- package/dist/resources/Workers/chunk-K4AH3TDT.js +959 -0
- package/dist/resources/Workers/chunk-KHWLAQVA.js +75 -0
- package/dist/resources/Workers/chunk-KM6MITPF.js +2857 -0
- package/dist/resources/Workers/chunk-KSYBJA4M.js +262 -0
- package/dist/resources/Workers/chunk-LJBJM6VI.js +171 -0
- package/dist/resources/Workers/chunk-LNSWJ43X.js +421 -0
- package/dist/resources/Workers/chunk-LOZ4NKY3.js +684 -0
- package/dist/resources/Workers/chunk-LS3KVHYY.js +353 -0
- package/dist/resources/Workers/chunk-MVM4JV5U.js +691 -0
- package/dist/resources/Workers/chunk-N2XAJBC6.js +368 -0
- package/dist/resources/Workers/chunk-OMXHEJTK.js +163 -0
- package/dist/resources/Workers/chunk-PWF4EY5P.js +122 -0
- package/dist/resources/Workers/chunk-Q4ZVWJXX.js +59 -0
- package/dist/resources/Workers/chunk-SDIDRZDG.js +476 -0
- package/dist/resources/Workers/chunk-TVL3F7IU.js +39 -0
- package/dist/resources/Workers/chunk-TY4DKOWR.js +44 -0
- package/dist/resources/Workers/chunk-VCNOFQYH.js +287 -0
- package/dist/resources/Workers/chunk-WEHZP4SE.js +10357 -0
- package/dist/resources/Workers/chunk-WVNLSTOF.js +73 -0
- package/dist/resources/Workers/chunk-XK4OP6VA.js +1073 -0
- package/dist/resources/Workers/chunk-YJX7X577.js +2717 -0
- package/dist/resources/Workers/chunk-Z3QWTHI7.js +398 -0
- package/dist/resources/Workers/chunk-ZGFIT57T.js +1048 -0
- package/dist/resources/Workers/chunk-ZMNLEL6W.js +100 -0
- package/dist/resources/Workers/combineGeometry.js +64 -0
- package/dist/resources/Workers/createBoxGeometry.js +56 -0
- package/dist/resources/Workers/createBoxOutlineGeometry.js +233 -0
- package/dist/resources/Workers/createCircleGeometry.js +199 -0
- package/dist/resources/Workers/createCircleOutlineGeometry.js +145 -0
- package/dist/resources/Workers/createCoplanarPolygonGeometry.js +505 -0
- package/dist/resources/Workers/createCoplanarPolygonOutlineGeometry.js +223 -0
- package/dist/resources/Workers/createCorridorGeometry.js +1261 -0
- package/dist/resources/Workers/createCorridorOutlineGeometry.js +566 -0
- package/dist/resources/Workers/createCylinderGeometry.js +58 -0
- package/dist/resources/Workers/createCylinderOutlineGeometry.js +229 -0
- package/dist/resources/Workers/createEllipseGeometry.js +69 -0
- package/dist/resources/Workers/createEllipseOutlineGeometry.js +62 -0
- package/dist/resources/Workers/createEllipsoidGeometry.js +57 -0
- package/dist/resources/Workers/createEllipsoidOutlineGeometry.js +59 -0
- package/dist/resources/Workers/createFrustumGeometry.js +56 -0
- package/dist/resources/Workers/createFrustumOutlineGeometry.js +234 -0
- package/dist/resources/Workers/createGeometry.js +168 -0
- package/dist/resources/Workers/createGroundPolylineGeometry.js +1606 -0
- package/dist/resources/Workers/createPlaneGeometry.js +222 -0
- package/dist/resources/Workers/createPlaneOutlineGeometry.js +122 -0
- package/dist/resources/Workers/createPolygonGeometry.js +1405 -0
- package/dist/resources/Workers/createPolygonOutlineGeometry.js +533 -0
- package/dist/resources/Workers/createPolylineGeometry.js +494 -0
- package/dist/resources/Workers/createPolylineVolumeGeometry.js +377 -0
- package/dist/resources/Workers/createPolylineVolumeOutlineGeometry.js +275 -0
- package/dist/resources/Workers/createRectangleGeometry.js +1270 -0
- package/dist/resources/Workers/createRectangleOutlineGeometry.js +477 -0
- package/dist/resources/Workers/createSimplePolylineGeometry.js +398 -0
- package/dist/resources/Workers/createSphereGeometry.js +116 -0
- package/dist/resources/Workers/createSphereOutlineGeometry.js +116 -0
- package/dist/resources/Workers/createTaskProcessorWorker.js +32 -0
- package/dist/resources/Workers/createVectorTileClampedPolylines.js +490 -0
- package/dist/resources/Workers/createVectorTileGeometries.js +385 -0
- package/dist/resources/Workers/createVectorTilePoints.js +112 -0
- package/dist/resources/Workers/createVectorTilePolygons.js +383 -0
- package/dist/resources/Workers/createVectorTilePolylines.js +260 -0
- package/dist/resources/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +563 -0
- package/dist/resources/Workers/createVerticesFromHeightmap.js +2276 -0
- package/dist/resources/Workers/createVerticesFromQuantizedTerrainMesh.js +753 -0
- package/dist/resources/Workers/createWallGeometry.js +488 -0
- package/dist/resources/Workers/createWallOutlineGeometry.js +336 -0
- package/dist/resources/Workers/decodeDraco.js +370 -0
- package/dist/resources/Workers/decodeGoogleEarthEnterprisePacket.js +2666 -0
- package/dist/resources/Workers/decodeI3S.js +1343 -0
- package/dist/resources/Workers/transcodeKTX2.js +3387 -0
- package/dist/resources/Workers/transferTypedArrayTest.js +41 -0
- package/dist/resources/Workers/upsampleQuantizedTerrainMesh.js +817 -0
- package/package.json +22 -0
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.126
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import {
|
|
27
|
+
VertexFormat_default
|
|
28
|
+
} from "./chunk-4CHMVQTQ.js";
|
|
29
|
+
import {
|
|
30
|
+
GeometryAttributes_default
|
|
31
|
+
} from "./chunk-TY4DKOWR.js";
|
|
32
|
+
import {
|
|
33
|
+
GeometryAttribute_default,
|
|
34
|
+
Geometry_default,
|
|
35
|
+
PrimitiveType_default
|
|
36
|
+
} from "./chunk-HUFQVUMY.js";
|
|
37
|
+
import {
|
|
38
|
+
BoundingSphere_default
|
|
39
|
+
} from "./chunk-FYGLNDKG.js";
|
|
40
|
+
import "./chunk-WEHZP4SE.js";
|
|
41
|
+
import {
|
|
42
|
+
ComponentDatatype_default
|
|
43
|
+
} from "./chunk-KSYBJA4M.js";
|
|
44
|
+
import {
|
|
45
|
+
Cartesian3_default
|
|
46
|
+
} from "./chunk-KM6MITPF.js";
|
|
47
|
+
import "./chunk-F4CUH4MR.js";
|
|
48
|
+
import "./chunk-ED6GLQTK.js";
|
|
49
|
+
import "./chunk-5KWRW7YL.js";
|
|
50
|
+
import {
|
|
51
|
+
defaultValue_default
|
|
52
|
+
} from "./chunk-TVL3F7IU.js";
|
|
53
|
+
import {
|
|
54
|
+
Check_default
|
|
55
|
+
} from "./chunk-OMXHEJTK.js";
|
|
56
|
+
import {
|
|
57
|
+
defined_default
|
|
58
|
+
} from "./chunk-KHWLAQVA.js";
|
|
59
|
+
|
|
60
|
+
// packages/engine/Source/Core/PlaneGeometry.js
|
|
61
|
+
function PlaneGeometry(options) {
|
|
62
|
+
options = defaultValue_default(options, defaultValue_default.EMPTY_OBJECT);
|
|
63
|
+
const vertexFormat = defaultValue_default(options.vertexFormat, VertexFormat_default.DEFAULT);
|
|
64
|
+
this._vertexFormat = vertexFormat;
|
|
65
|
+
this._workerName = "createPlaneGeometry";
|
|
66
|
+
}
|
|
67
|
+
PlaneGeometry.packedLength = VertexFormat_default.packedLength;
|
|
68
|
+
PlaneGeometry.pack = function(value, array, startingIndex) {
|
|
69
|
+
Check_default.typeOf.object("value", value);
|
|
70
|
+
Check_default.defined("array", array);
|
|
71
|
+
startingIndex = defaultValue_default(startingIndex, 0);
|
|
72
|
+
VertexFormat_default.pack(value._vertexFormat, array, startingIndex);
|
|
73
|
+
return array;
|
|
74
|
+
};
|
|
75
|
+
var scratchVertexFormat = new VertexFormat_default();
|
|
76
|
+
var scratchOptions = {
|
|
77
|
+
vertexFormat: scratchVertexFormat
|
|
78
|
+
};
|
|
79
|
+
PlaneGeometry.unpack = function(array, startingIndex, result) {
|
|
80
|
+
Check_default.defined("array", array);
|
|
81
|
+
startingIndex = defaultValue_default(startingIndex, 0);
|
|
82
|
+
const vertexFormat = VertexFormat_default.unpack(
|
|
83
|
+
array,
|
|
84
|
+
startingIndex,
|
|
85
|
+
scratchVertexFormat
|
|
86
|
+
);
|
|
87
|
+
if (!defined_default(result)) {
|
|
88
|
+
return new PlaneGeometry(scratchOptions);
|
|
89
|
+
}
|
|
90
|
+
result._vertexFormat = VertexFormat_default.clone(vertexFormat, result._vertexFormat);
|
|
91
|
+
return result;
|
|
92
|
+
};
|
|
93
|
+
var min = new Cartesian3_default(-0.5, -0.5, 0);
|
|
94
|
+
var max = new Cartesian3_default(0.5, 0.5, 0);
|
|
95
|
+
PlaneGeometry.createGeometry = function(planeGeometry) {
|
|
96
|
+
const vertexFormat = planeGeometry._vertexFormat;
|
|
97
|
+
const attributes = new GeometryAttributes_default();
|
|
98
|
+
let indices;
|
|
99
|
+
let positions;
|
|
100
|
+
if (vertexFormat.position) {
|
|
101
|
+
positions = new Float64Array(4 * 3);
|
|
102
|
+
positions[0] = min.x;
|
|
103
|
+
positions[1] = min.y;
|
|
104
|
+
positions[2] = 0;
|
|
105
|
+
positions[3] = max.x;
|
|
106
|
+
positions[4] = min.y;
|
|
107
|
+
positions[5] = 0;
|
|
108
|
+
positions[6] = max.x;
|
|
109
|
+
positions[7] = max.y;
|
|
110
|
+
positions[8] = 0;
|
|
111
|
+
positions[9] = min.x;
|
|
112
|
+
positions[10] = max.y;
|
|
113
|
+
positions[11] = 0;
|
|
114
|
+
attributes.position = new GeometryAttribute_default({
|
|
115
|
+
componentDatatype: ComponentDatatype_default.DOUBLE,
|
|
116
|
+
componentsPerAttribute: 3,
|
|
117
|
+
values: positions
|
|
118
|
+
});
|
|
119
|
+
if (vertexFormat.normal) {
|
|
120
|
+
const normals = new Float32Array(4 * 3);
|
|
121
|
+
normals[0] = 0;
|
|
122
|
+
normals[1] = 0;
|
|
123
|
+
normals[2] = 1;
|
|
124
|
+
normals[3] = 0;
|
|
125
|
+
normals[4] = 0;
|
|
126
|
+
normals[5] = 1;
|
|
127
|
+
normals[6] = 0;
|
|
128
|
+
normals[7] = 0;
|
|
129
|
+
normals[8] = 1;
|
|
130
|
+
normals[9] = 0;
|
|
131
|
+
normals[10] = 0;
|
|
132
|
+
normals[11] = 1;
|
|
133
|
+
attributes.normal = new GeometryAttribute_default({
|
|
134
|
+
componentDatatype: ComponentDatatype_default.FLOAT,
|
|
135
|
+
componentsPerAttribute: 3,
|
|
136
|
+
values: normals
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
if (vertexFormat.st) {
|
|
140
|
+
const texCoords = new Float32Array(4 * 2);
|
|
141
|
+
texCoords[0] = 0;
|
|
142
|
+
texCoords[1] = 0;
|
|
143
|
+
texCoords[2] = 1;
|
|
144
|
+
texCoords[3] = 0;
|
|
145
|
+
texCoords[4] = 1;
|
|
146
|
+
texCoords[5] = 1;
|
|
147
|
+
texCoords[6] = 0;
|
|
148
|
+
texCoords[7] = 1;
|
|
149
|
+
attributes.st = new GeometryAttribute_default({
|
|
150
|
+
componentDatatype: ComponentDatatype_default.FLOAT,
|
|
151
|
+
componentsPerAttribute: 2,
|
|
152
|
+
values: texCoords
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
if (vertexFormat.tangent) {
|
|
156
|
+
const tangents = new Float32Array(4 * 3);
|
|
157
|
+
tangents[0] = 1;
|
|
158
|
+
tangents[1] = 0;
|
|
159
|
+
tangents[2] = 0;
|
|
160
|
+
tangents[3] = 1;
|
|
161
|
+
tangents[4] = 0;
|
|
162
|
+
tangents[5] = 0;
|
|
163
|
+
tangents[6] = 1;
|
|
164
|
+
tangents[7] = 0;
|
|
165
|
+
tangents[8] = 0;
|
|
166
|
+
tangents[9] = 1;
|
|
167
|
+
tangents[10] = 0;
|
|
168
|
+
tangents[11] = 0;
|
|
169
|
+
attributes.tangent = new GeometryAttribute_default({
|
|
170
|
+
componentDatatype: ComponentDatatype_default.FLOAT,
|
|
171
|
+
componentsPerAttribute: 3,
|
|
172
|
+
values: tangents
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
if (vertexFormat.bitangent) {
|
|
176
|
+
const bitangents = new Float32Array(4 * 3);
|
|
177
|
+
bitangents[0] = 0;
|
|
178
|
+
bitangents[1] = 1;
|
|
179
|
+
bitangents[2] = 0;
|
|
180
|
+
bitangents[3] = 0;
|
|
181
|
+
bitangents[4] = 1;
|
|
182
|
+
bitangents[5] = 0;
|
|
183
|
+
bitangents[6] = 0;
|
|
184
|
+
bitangents[7] = 1;
|
|
185
|
+
bitangents[8] = 0;
|
|
186
|
+
bitangents[9] = 0;
|
|
187
|
+
bitangents[10] = 1;
|
|
188
|
+
bitangents[11] = 0;
|
|
189
|
+
attributes.bitangent = new GeometryAttribute_default({
|
|
190
|
+
componentDatatype: ComponentDatatype_default.FLOAT,
|
|
191
|
+
componentsPerAttribute: 3,
|
|
192
|
+
values: bitangents
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
indices = new Uint16Array(2 * 3);
|
|
196
|
+
indices[0] = 0;
|
|
197
|
+
indices[1] = 1;
|
|
198
|
+
indices[2] = 2;
|
|
199
|
+
indices[3] = 0;
|
|
200
|
+
indices[4] = 2;
|
|
201
|
+
indices[5] = 3;
|
|
202
|
+
}
|
|
203
|
+
return new Geometry_default({
|
|
204
|
+
attributes,
|
|
205
|
+
indices,
|
|
206
|
+
primitiveType: PrimitiveType_default.TRIANGLES,
|
|
207
|
+
boundingSphere: new BoundingSphere_default(Cartesian3_default.ZERO, Math.sqrt(2))
|
|
208
|
+
});
|
|
209
|
+
};
|
|
210
|
+
var PlaneGeometry_default = PlaneGeometry;
|
|
211
|
+
|
|
212
|
+
// packages/engine/Source/Workers/createPlaneGeometry.js
|
|
213
|
+
function createPlaneGeometry(planeGeometry, offset) {
|
|
214
|
+
if (defined_default(offset)) {
|
|
215
|
+
planeGeometry = PlaneGeometry_default.unpack(planeGeometry, offset);
|
|
216
|
+
}
|
|
217
|
+
return PlaneGeometry_default.createGeometry(planeGeometry);
|
|
218
|
+
}
|
|
219
|
+
var createPlaneGeometry_default = createPlaneGeometry;
|
|
220
|
+
export {
|
|
221
|
+
createPlaneGeometry_default as default
|
|
222
|
+
};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.126
|
|
5
|
+
*
|
|
6
|
+
* Copyright 2011-2022 Cesium Contributors
|
|
7
|
+
*
|
|
8
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
9
|
+
* you may not use this file except in compliance with the License.
|
|
10
|
+
* You may obtain a copy of the License at
|
|
11
|
+
*
|
|
12
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13
|
+
*
|
|
14
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
15
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
16
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
17
|
+
* See the License for the specific language governing permissions and
|
|
18
|
+
* limitations under the License.
|
|
19
|
+
*
|
|
20
|
+
* Columbus View (Pat. Pend.)
|
|
21
|
+
*
|
|
22
|
+
* Portions licensed separately.
|
|
23
|
+
* See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details.
|
|
24
|
+
*/
|
|
25
|
+
|
|
26
|
+
import {
|
|
27
|
+
GeometryAttributes_default
|
|
28
|
+
} from "./chunk-TY4DKOWR.js";
|
|
29
|
+
import {
|
|
30
|
+
GeometryAttribute_default,
|
|
31
|
+
Geometry_default,
|
|
32
|
+
PrimitiveType_default
|
|
33
|
+
} from "./chunk-HUFQVUMY.js";
|
|
34
|
+
import {
|
|
35
|
+
BoundingSphere_default
|
|
36
|
+
} from "./chunk-FYGLNDKG.js";
|
|
37
|
+
import "./chunk-WEHZP4SE.js";
|
|
38
|
+
import {
|
|
39
|
+
ComponentDatatype_default
|
|
40
|
+
} from "./chunk-KSYBJA4M.js";
|
|
41
|
+
import {
|
|
42
|
+
Cartesian3_default
|
|
43
|
+
} from "./chunk-KM6MITPF.js";
|
|
44
|
+
import "./chunk-F4CUH4MR.js";
|
|
45
|
+
import "./chunk-ED6GLQTK.js";
|
|
46
|
+
import "./chunk-5KWRW7YL.js";
|
|
47
|
+
import "./chunk-TVL3F7IU.js";
|
|
48
|
+
import {
|
|
49
|
+
Check_default
|
|
50
|
+
} from "./chunk-OMXHEJTK.js";
|
|
51
|
+
import {
|
|
52
|
+
defined_default
|
|
53
|
+
} from "./chunk-KHWLAQVA.js";
|
|
54
|
+
|
|
55
|
+
// packages/engine/Source/Core/PlaneOutlineGeometry.js
|
|
56
|
+
function PlaneOutlineGeometry() {
|
|
57
|
+
this._workerName = "createPlaneOutlineGeometry";
|
|
58
|
+
}
|
|
59
|
+
PlaneOutlineGeometry.packedLength = 0;
|
|
60
|
+
PlaneOutlineGeometry.pack = function(value, array) {
|
|
61
|
+
Check_default.defined("value", value);
|
|
62
|
+
Check_default.defined("array", array);
|
|
63
|
+
return array;
|
|
64
|
+
};
|
|
65
|
+
PlaneOutlineGeometry.unpack = function(array, startingIndex, result) {
|
|
66
|
+
Check_default.defined("array", array);
|
|
67
|
+
if (!defined_default(result)) {
|
|
68
|
+
return new PlaneOutlineGeometry();
|
|
69
|
+
}
|
|
70
|
+
return result;
|
|
71
|
+
};
|
|
72
|
+
var min = new Cartesian3_default(-0.5, -0.5, 0);
|
|
73
|
+
var max = new Cartesian3_default(0.5, 0.5, 0);
|
|
74
|
+
PlaneOutlineGeometry.createGeometry = function() {
|
|
75
|
+
const attributes = new GeometryAttributes_default();
|
|
76
|
+
const indices = new Uint16Array(4 * 2);
|
|
77
|
+
const positions = new Float64Array(4 * 3);
|
|
78
|
+
positions[0] = min.x;
|
|
79
|
+
positions[1] = min.y;
|
|
80
|
+
positions[2] = min.z;
|
|
81
|
+
positions[3] = max.x;
|
|
82
|
+
positions[4] = min.y;
|
|
83
|
+
positions[5] = min.z;
|
|
84
|
+
positions[6] = max.x;
|
|
85
|
+
positions[7] = max.y;
|
|
86
|
+
positions[8] = min.z;
|
|
87
|
+
positions[9] = min.x;
|
|
88
|
+
positions[10] = max.y;
|
|
89
|
+
positions[11] = min.z;
|
|
90
|
+
attributes.position = new GeometryAttribute_default({
|
|
91
|
+
componentDatatype: ComponentDatatype_default.DOUBLE,
|
|
92
|
+
componentsPerAttribute: 3,
|
|
93
|
+
values: positions
|
|
94
|
+
});
|
|
95
|
+
indices[0] = 0;
|
|
96
|
+
indices[1] = 1;
|
|
97
|
+
indices[2] = 1;
|
|
98
|
+
indices[3] = 2;
|
|
99
|
+
indices[4] = 2;
|
|
100
|
+
indices[5] = 3;
|
|
101
|
+
indices[6] = 3;
|
|
102
|
+
indices[7] = 0;
|
|
103
|
+
return new Geometry_default({
|
|
104
|
+
attributes,
|
|
105
|
+
indices,
|
|
106
|
+
primitiveType: PrimitiveType_default.LINES,
|
|
107
|
+
boundingSphere: new BoundingSphere_default(Cartesian3_default.ZERO, Math.sqrt(2))
|
|
108
|
+
});
|
|
109
|
+
};
|
|
110
|
+
var PlaneOutlineGeometry_default = PlaneOutlineGeometry;
|
|
111
|
+
|
|
112
|
+
// packages/engine/Source/Workers/createPlaneOutlineGeometry.js
|
|
113
|
+
function createPlaneOutlineGeometry(planeGeometry, offset) {
|
|
114
|
+
if (defined_default(offset)) {
|
|
115
|
+
planeGeometry = PlaneOutlineGeometry_default.unpack(planeGeometry, offset);
|
|
116
|
+
}
|
|
117
|
+
return PlaneOutlineGeometry_default.createGeometry(planeGeometry);
|
|
118
|
+
}
|
|
119
|
+
var createPlaneOutlineGeometry_default = createPlaneOutlineGeometry;
|
|
120
|
+
export {
|
|
121
|
+
createPlaneOutlineGeometry_default as default
|
|
122
|
+
};
|