create-swdg-frontend 0.1.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 +39 -0
- package/bin/index.js +248 -0
- package/package.json +29 -0
- package/template/.husky/commit-msg +42 -0
- package/template/.husky/pre-commit +2 -0
- package/template/.husky/prepare-commit-msg +1 -0
- package/template/.lintstagedrc +5 -0
- package/template/.prettierignore +26 -0
- package/template/.prettierrc.cjs +10 -0
- package/template/.stylelintignore +1 -0
- package/template/.stylelintrc.json +6 -0
- package/template/README.md +36 -0
- package/template/commitlint.config.cjs +64 -0
- package/template/eslint.config.js +96 -0
- package/template/index.html +17 -0
- package/template/interface/user.ts +5 -0
- package/template/package.json +84 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_0.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_1.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_10.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_11.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_12.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_13.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_14.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_15.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_16.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_17.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_18.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_19.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_2.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_20.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_21.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_22.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_23.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_24.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_25.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_26.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_27.json +438 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_3.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_4.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_5.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_6.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_7.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_8.json +1012 -0
- package/template/public/Cesium1.119/Assets/IAU2006_XYS/IAU2006_XYS_9.json +1012 -0
- package/template/public/Cesium1.119/Assets/Images/bing_maps_credit.png +0 -0
- package/template/public/Cesium1.119/Assets/Images/cesium_credit.png +0 -0
- package/template/public/Cesium1.119/Assets/Images/google_earth_credit.png +0 -0
- package/template/public/Cesium1.119/Assets/Images/ion-credit.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/LensFlare/DirtMask.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/LensFlare/StarBurst.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/0/0/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/0/1/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/0/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/0/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/1/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/1/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/2/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/2/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/3/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/1/3/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/0/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/1/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/2/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/3/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/4/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/5/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/6/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/0.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/1.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/2.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/2/7/3.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/NaturalEarthII/tilemapresource.xml +14 -0
- package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_mx.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_my.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_mz.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_px.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_py.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/SkyBox/tycho2t3_80_pz.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/airfield.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/airport.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/alcohol-shop.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/america-football.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/art-gallery.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/bakery.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/bank.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/bar.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/baseball.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/basketball.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/beer.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/bicycle.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/building.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/bus.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/cafe.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/camera.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/campsite.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/car.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/cemetery.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/cesium.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/chemist.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/cinema.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/circle-stroked.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/circle.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/city.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/clothing-store.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/college.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/commercial.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/cricket.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/cross.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/dam.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/danger.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/disability.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/dog-park.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/embassy.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/emergency-telephone.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/entrance.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/farm.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/fast-food.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/ferry.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/fire-station.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/fuel.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/garden.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/gift.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/golf.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/grocery.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/hairdresser.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/harbor.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/heart.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/heliport.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/hospital.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/ice-cream.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/industrial.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/land-use.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/laundry.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/library.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/lighthouse.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/lodging.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/logging.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/london-underground.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/marker-stroked.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/marker.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/minefield.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/mobilephone.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/monument.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/museum.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/music.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/oil-well.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/park.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/park2.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/parking-garage.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/parking.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/pharmacy.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/pitch.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/place-of-worship.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/playground.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/police.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/polling-place.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/post.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/prison.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/rail-above.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/rail-light.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/rail-metro.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/rail-underground.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/rail.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/religious-christian.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/religious-jewish.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/religious-muslim.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/restaurant.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/roadblock.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/rocket.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/school.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/scooter.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/shop.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/skiing.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/slaughterhouse.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/soccer.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/square-stroked.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/square.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/star-stroked.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/star.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/suitcase.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/swimming.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/telephone.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/tennis.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/theatre.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/toilets.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/town-hall.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/town.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/triangle-stroked.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/triangle.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/village.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/warehouse.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/waste-basket.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/water.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/wetland.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/maki/zoo.png +0 -0
- package/template/public/Cesium1.119/Assets/Textures/moonSmall.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/pin.svg +1 -0
- package/template/public/Cesium1.119/Assets/Textures/waterNormals.jpg +0 -0
- package/template/public/Cesium1.119/Assets/Textures/waterNormalsSmall.jpg +0 -0
- package/template/public/Cesium1.119/Assets/approximateTerrainHeights.json +10924 -0
- package/template/public/Cesium1.119/Cesium.js +185772 -0
- package/template/public/Cesium1.119/ThirdParty/Workers/package.json +3 -0
- package/template/public/Cesium1.119/ThirdParty/Workers/pako_deflate.min.js +1681 -0
- package/template/public/Cesium1.119/ThirdParty/Workers/pako_inflate.min.js +1489 -0
- package/template/public/Cesium1.119/ThirdParty/Workers/z-worker-pako.js +1070 -0
- package/template/public/Cesium1.119/ThirdParty/basis_transcoder.wasm +0 -0
- package/template/public/Cesium1.119/ThirdParty/draco_decoder.wasm +0 -0
- package/template/public/Cesium1.119/ThirdParty/google-earth-dbroot-parser.js +11424 -0
- package/template/public/Cesium1.119/Widgets/Animation/Animation.css +127 -0
- package/template/public/Cesium1.119/Widgets/Animation/lighter.css +78 -0
- package/template/public/Cesium1.119/Widgets/BaseLayerPicker/BaseLayerPicker.css +112 -0
- package/template/public/Cesium1.119/Widgets/BaseLayerPicker/lighter.css +28 -0
- package/template/public/Cesium1.119/Widgets/Cesium3DTilesInspector/Cesium3DTilesInspector.css +104 -0
- package/template/public/Cesium1.119/Widgets/CesiumInspector/CesiumInspector.css +115 -0
- package/template/public/Cesium1.119/Widgets/CesiumWidget/CesiumWidget.css +119 -0
- package/template/public/Cesium1.119/Widgets/CesiumWidget/lighter.css +14 -0
- package/template/public/Cesium1.119/Widgets/FullscreenButton/FullscreenButton.css +8 -0
- package/template/public/Cesium1.119/Widgets/Geocoder/Geocoder.css +72 -0
- package/template/public/Cesium1.119/Widgets/Geocoder/lighter.css +17 -0
- package/template/public/Cesium1.119/Widgets/I3SBuildingSceneLayerExplorer/I3SBuildingSceneLayerExplorer.css +27 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldHillshade.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldImagery.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/ArcGisMapServiceWorldOcean.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingAerial.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingAerialLabels.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/bingRoads.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/blueMarble.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/earthAtNight.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapQuestOpenStreetMap.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxSatellite.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxStreets.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/mapboxTerrain.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/naturalEarthII.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/openStreetMap.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/sentinel-2.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stadiaAlidadeSmooth.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stadiaAlidadeSmoothDark.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stamenToner.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/ImageryProviders/stamenWatercolor.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/Mouse.svg +84 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseLeft.svg +76 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseMiddle.svg +76 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/MouseRight.svg +76 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/Touch.svg +120 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchDrag.svg +129 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchRotate.svg +76 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchTilt.svg +135 -0
- package/template/public/Cesium1.119/Widgets/Images/NavigationHelp/TouchZoom.svg +74 -0
- package/template/public/Cesium1.119/Widgets/Images/TerrainProviders/CesiumWorldTerrain.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/TerrainProviders/Ellipsoid.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/TimelineIcons.png +0 -0
- package/template/public/Cesium1.119/Widgets/Images/info-loading.gif +0 -0
- package/template/public/Cesium1.119/Widgets/InfoBox/InfoBox.css +94 -0
- package/template/public/Cesium1.119/Widgets/InfoBox/InfoBoxDescription.css +178 -0
- package/template/public/Cesium1.119/Widgets/NavigationHelpButton/NavigationHelpButton.css +95 -0
- package/template/public/Cesium1.119/Widgets/NavigationHelpButton/lighter.css +38 -0
- package/template/public/Cesium1.119/Widgets/PerformanceWatchdog/PerformanceWatchdog.css +15 -0
- package/template/public/Cesium1.119/Widgets/ProjectionPicker/ProjectionPicker.css +46 -0
- package/template/public/Cesium1.119/Widgets/SceneModePicker/SceneModePicker.css +72 -0
- package/template/public/Cesium1.119/Widgets/SelectionIndicator/SelectionIndicator.css +22 -0
- package/template/public/Cesium1.119/Widgets/Timeline/Timeline.css +103 -0
- package/template/public/Cesium1.119/Widgets/Timeline/lighter.css +18 -0
- package/template/public/Cesium1.119/Widgets/VRButton/VRButton.css +8 -0
- package/template/public/Cesium1.119/Widgets/Viewer/Viewer.css +107 -0
- package/template/public/Cesium1.119/Widgets/VoxelInspector/VoxelInspector.css +18 -0
- package/template/public/Cesium1.119/Widgets/lighter.css +246 -0
- package/template/public/Cesium1.119/Widgets/lighterShared.css +46 -0
- package/template/public/Cesium1.119/Widgets/shared.css +103 -0
- package/template/public/Cesium1.119/Widgets/widgets.css +1376 -0
- package/template/public/Cesium1.119/Workers/chunk-3C7WC463.js +611 -0
- package/template/public/Cesium1.119/Workers/chunk-3JW36LZF.js +166 -0
- package/template/public/Cesium1.119/Workers/chunk-4BTGX3WJ.js +264 -0
- package/template/public/Cesium1.119/Workers/chunk-4WRMLZA7.js +128 -0
- package/template/public/Cesium1.119/Workers/chunk-7Z5IIKOJ.js +8046 -0
- package/template/public/Cesium1.119/Workers/chunk-ABGXSJNX.js +341 -0
- package/template/public/Cesium1.119/Workers/chunk-AMQUWUD4.js +269 -0
- package/template/public/Cesium1.119/Workers/chunk-ATPDRNKI.js +28 -0
- package/template/public/Cesium1.119/Workers/chunk-BMHPVZ4H.js +199 -0
- package/template/public/Cesium1.119/Workers/chunk-CBEO3SHS.js +1102 -0
- package/template/public/Cesium1.119/Workers/chunk-CV7DLCWG.js +485 -0
- package/template/public/Cesium1.119/Workers/chunk-DQO6B4EQ.js +76 -0
- package/template/public/Cesium1.119/Workers/chunk-ED3TLP6D.js +91 -0
- package/template/public/Cesium1.119/Workers/chunk-EFZKO5RU.js +42 -0
- package/template/public/Cesium1.119/Workers/chunk-F5IHREXR.js +2678 -0
- package/template/public/Cesium1.119/Workers/chunk-FKRG4HDY.js +516 -0
- package/template/public/Cesium1.119/Workers/chunk-FYOYUPXG.js +399 -0
- package/template/public/Cesium1.119/Workers/chunk-GFN7NNSJ.js +65 -0
- package/template/public/Cesium1.119/Workers/chunk-HEEMUCG6.js +92 -0
- package/template/public/Cesium1.119/Workers/chunk-HSWA4OEL.js +672 -0
- package/template/public/Cesium1.119/Workers/chunk-IAC5XVZV.js +287 -0
- package/template/public/Cesium1.119/Workers/chunk-II4VNKYR.js +50 -0
- package/template/public/Cesium1.119/Workers/chunk-ILGBPNP6.js +28 -0
- package/template/public/Cesium1.119/Workers/chunk-IRH46BDL.js +124 -0
- package/template/public/Cesium1.119/Workers/chunk-IUA6FAOZ.js +31 -0
- package/template/public/Cesium1.119/Workers/chunk-K4ASOM65.js +331 -0
- package/template/public/Cesium1.119/Workers/chunk-KCIZBVXL.js +258 -0
- package/template/public/Cesium1.119/Workers/chunk-KF5NF354.js +162 -0
- package/template/public/Cesium1.119/Workers/chunk-KRKI6AAO.js +773 -0
- package/template/public/Cesium1.119/Workers/chunk-KZNJOCYU.js +162 -0
- package/template/public/Cesium1.119/Workers/chunk-O5IJ3OGP.js +857 -0
- package/template/public/Cesium1.119/Workers/chunk-OO23RBLX.js +183 -0
- package/template/public/Cesium1.119/Workers/chunk-P37AI2DW.js +85 -0
- package/template/public/Cesium1.119/Workers/chunk-PDMQLSBL.js +108 -0
- package/template/public/Cesium1.119/Workers/chunk-PEYJTJPE.js +73 -0
- package/template/public/Cesium1.119/Workers/chunk-POASMU2N.js +2372 -0
- package/template/public/Cesium1.119/Workers/chunk-PXCJYT2S.js +73 -0
- package/template/public/Cesium1.119/Workers/chunk-Q6L7X3LP.js +538 -0
- package/template/public/Cesium1.119/Workers/chunk-QB3MDM4J.js +1670 -0
- package/template/public/Cesium1.119/Workers/chunk-R6KGAEF6.js +392 -0
- package/template/public/Cesium1.119/Workers/chunk-RXTBM4OI.js +57 -0
- package/template/public/Cesium1.119/Workers/chunk-SB224QGV.js +72 -0
- package/template/public/Cesium1.119/Workers/chunk-T6BE4RZK.js +37 -0
- package/template/public/Cesium1.119/Workers/chunk-TAMCUKAR.js +814 -0
- package/template/public/Cesium1.119/Workers/chunk-TMSETF7M.js +579 -0
- package/template/public/Cesium1.119/Workers/chunk-TOGHF3VN.js +376 -0
- package/template/public/Cesium1.119/Workers/chunk-UH2WFNTA.js +111 -0
- package/template/public/Cesium1.119/Workers/chunk-V7JEDBOE.js +573 -0
- package/template/public/Cesium1.119/Workers/chunk-VBIROZR5.js +633 -0
- package/template/public/Cesium1.119/Workers/chunk-W23CU777.js +271 -0
- package/template/public/Cesium1.119/Workers/chunk-X5IHHI6X.js +173 -0
- package/template/public/Cesium1.119/Workers/chunk-XHX2UPDO.js +217 -0
- package/template/public/Cesium1.119/Workers/combineGeometry.js +53 -0
- package/template/public/Cesium1.119/Workers/createBoxGeometry.js +45 -0
- package/template/public/Cesium1.119/Workers/createBoxOutlineGeometry.js +189 -0
- package/template/public/Cesium1.119/Workers/createCircleGeometry.js +148 -0
- package/template/public/Cesium1.119/Workers/createCircleOutlineGeometry.js +105 -0
- package/template/public/Cesium1.119/Workers/createCoplanarPolygonGeometry.js +293 -0
- package/template/public/Cesium1.119/Workers/createCoplanarPolygonOutlineGeometry.js +143 -0
- package/template/public/Cesium1.119/Workers/createCorridorGeometry.js +830 -0
- package/template/public/Cesium1.119/Workers/createCorridorOutlineGeometry.js +417 -0
- package/template/public/Cesium1.119/Workers/createCylinderGeometry.js +47 -0
- package/template/public/Cesium1.119/Workers/createCylinderOutlineGeometry.js +170 -0
- package/template/public/Cesium1.119/Workers/createEllipseGeometry.js +58 -0
- package/template/public/Cesium1.119/Workers/createEllipseOutlineGeometry.js +51 -0
- package/template/public/Cesium1.119/Workers/createEllipsoidGeometry.js +46 -0
- package/template/public/Cesium1.119/Workers/createEllipsoidOutlineGeometry.js +45 -0
- package/template/public/Cesium1.119/Workers/createFrustumGeometry.js +45 -0
- package/template/public/Cesium1.119/Workers/createFrustumOutlineGeometry.js +164 -0
- package/template/public/Cesium1.119/Workers/createGeometry.js +159 -0
- package/template/public/Cesium1.119/Workers/createGroundPolylineGeometry.js +911 -0
- package/template/public/Cesium1.119/Workers/createPlaneGeometry.js +185 -0
- package/template/public/Cesium1.119/Workers/createPlaneOutlineGeometry.js +93 -0
- package/template/public/Cesium1.119/Workers/createPolygonGeometry.js +884 -0
- package/template/public/Cesium1.119/Workers/createPolygonOutlineGeometry.js +359 -0
- package/template/public/Cesium1.119/Workers/createPolylineGeometry.js +349 -0
- package/template/public/Cesium1.119/Workers/createPolylineVolumeGeometry.js +262 -0
- package/template/public/Cesium1.119/Workers/createPolylineVolumeOutlineGeometry.js +177 -0
- package/template/public/Cesium1.119/Workers/createRectangleGeometry.js +787 -0
- package/template/public/Cesium1.119/Workers/createRectangleOutlineGeometry.js +299 -0
- package/template/public/Cesium1.119/Workers/createSimplePolylineGeometry.js +294 -0
- package/template/public/Cesium1.119/Workers/createSphereGeometry.js +84 -0
- package/template/public/Cesium1.119/Workers/createSphereOutlineGeometry.js +83 -0
- package/template/public/Cesium1.119/Workers/createTaskProcessorWorker.js +28 -0
- package/template/public/Cesium1.119/Workers/createVectorTileClampedPolylines.js +289 -0
- package/template/public/Cesium1.119/Workers/createVectorTileGeometries.js +258 -0
- package/template/public/Cesium1.119/Workers/createVectorTilePoints.js +79 -0
- package/template/public/Cesium1.119/Workers/createVectorTilePolygons.js +275 -0
- package/template/public/Cesium1.119/Workers/createVectorTilePolylines.js +176 -0
- package/template/public/Cesium1.119/Workers/createVerticesFromGoogleEarthEnterpriseBuffer.js +375 -0
- package/template/public/Cesium1.119/Workers/createVerticesFromHeightmap.js +1772 -0
- package/template/public/Cesium1.119/Workers/createVerticesFromQuantizedTerrainMesh.js +425 -0
- package/template/public/Cesium1.119/Workers/createWallGeometry.js +320 -0
- package/template/public/Cesium1.119/Workers/createWallOutlineGeometry.js +229 -0
- package/template/public/Cesium1.119/Workers/decodeDraco.js +227 -0
- package/template/public/Cesium1.119/Workers/decodeGoogleEarthEnterprisePacket.js +1836 -0
- package/template/public/Cesium1.119/Workers/decodeI3S.js +924 -0
- package/template/public/Cesium1.119/Workers/transcodeKTX2.js +3180 -0
- package/template/public/Cesium1.119/Workers/transferTypedArrayTest.js +34 -0
- package/template/public/Cesium1.119/Workers/upsampleQuantizedTerrainMesh.js +534 -0
- package/template/public/Cesium1.119/index.cjs +185632 -0
- package/template/public/Cesium1.119/index.js +182874 -0
- package/template/public/vite.svg +1 -0
- package/template/scripts/gen-api.cjs +178 -0
- package/template/src/App.vue +6 -0
- package/template/src/api/README.md +3 -0
- package/template/src/assets/favicon.svg +49 -0
- package/template/src/components/Body/index.vue +16 -0
- package/template/src/components/Header/index.vue +8 -0
- package/template/src/directive/focus.ts +9 -0
- package/template/src/layout/BasicLayout.vue +28 -0
- package/template/src/main.ts +33 -0
- package/template/src/router/index.ts +24 -0
- package/template/src/stores/README.md +3 -0
- package/template/src/stores/useCounter.ts +12 -0
- package/template/src/styles/alerts.less +85 -0
- package/template/src/styles/global.css +326 -0
- package/template/src/utils/alert.ts +58 -0
- package/template/src/utils/components.ts +21 -0
- package/template/src/utils/composables/useAlert.ts +14 -0
- package/template/src/views/Test/index.vue +23 -0
- package/template/src/views/index.vue +9 -0
- package/template/src/vite-env.d.ts +1 -0
- package/template/swdg/bin/index.js +23 -0
- package/template/swdg/package.json +27 -0
- package/template/tests/README.md +6 -0
- package/template/tests/e2e/README.md +3 -0
- package/template/tests/setup.ts +1 -0
- package/template/tests/unit/example.test.ts +7 -0
- package/template/tests/utils/helpers.ts +1 -0
- package/template/tsconfig.json +51 -0
- package/template/tsconfig.node.json +11 -0
- package/template/types/README.md +3 -0
- package/template/types/global.d.ts +9 -0
- package/template/vite.config.ts +75 -0
- package/template/vitest.config.ts +9 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.119
|
|
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 { a as t } from "./chunk-KCIZBVXL.js";
|
|
27
|
+
import "./chunk-ILGBPNP6.js";
|
|
28
|
+
import "./chunk-P37AI2DW.js";
|
|
29
|
+
import "./chunk-T6BE4RZK.js";
|
|
30
|
+
import "./chunk-X5IHHI6X.js";
|
|
31
|
+
import "./chunk-TMSETF7M.js";
|
|
32
|
+
import "./chunk-7Z5IIKOJ.js";
|
|
33
|
+
import "./chunk-KZNJOCYU.js";
|
|
34
|
+
import { a as d } from "./chunk-POASMU2N.js";
|
|
35
|
+
import "./chunk-R6KGAEF6.js";
|
|
36
|
+
import "./chunk-3C7WC463.js";
|
|
37
|
+
import "./chunk-II4VNKYR.js";
|
|
38
|
+
import { a as l } from "./chunk-IUA6FAOZ.js";
|
|
39
|
+
import { b as u } from "./chunk-UH2WFNTA.js";
|
|
40
|
+
import { e as a } from "./chunk-PEYJTJPE.js";
|
|
41
|
+
function s(i) {
|
|
42
|
+
let e = l(i.radius, 1),
|
|
43
|
+
r = {
|
|
44
|
+
radii: new d(e, e, e),
|
|
45
|
+
stackPartitions: i.stackPartitions,
|
|
46
|
+
slicePartitions: i.slicePartitions,
|
|
47
|
+
subdivisions: i.subdivisions,
|
|
48
|
+
};
|
|
49
|
+
((this._ellipsoidGeometry = new t(r)),
|
|
50
|
+
(this._workerName = "createSphereOutlineGeometry"));
|
|
51
|
+
}
|
|
52
|
+
s.packedLength = t.packedLength;
|
|
53
|
+
s.pack = function (i, e, o) {
|
|
54
|
+
return (u.typeOf.object("value", i), t.pack(i._ellipsoidGeometry, e, o));
|
|
55
|
+
};
|
|
56
|
+
var m = new t(),
|
|
57
|
+
n = {
|
|
58
|
+
radius: void 0,
|
|
59
|
+
radii: new d(),
|
|
60
|
+
stackPartitions: void 0,
|
|
61
|
+
slicePartitions: void 0,
|
|
62
|
+
subdivisions: void 0,
|
|
63
|
+
};
|
|
64
|
+
s.unpack = function (i, e, o) {
|
|
65
|
+
let r = t.unpack(i, e, m);
|
|
66
|
+
return (
|
|
67
|
+
(n.stackPartitions = r._stackPartitions),
|
|
68
|
+
(n.slicePartitions = r._slicePartitions),
|
|
69
|
+
(n.subdivisions = r._subdivisions),
|
|
70
|
+
a(o)
|
|
71
|
+
? (d.clone(r._radii, n.radii), (o._ellipsoidGeometry = new t(n)), o)
|
|
72
|
+
: ((n.radius = r._radii.x), new s(n))
|
|
73
|
+
);
|
|
74
|
+
};
|
|
75
|
+
s.createGeometry = function (i) {
|
|
76
|
+
return t.createGeometry(i._ellipsoidGeometry);
|
|
77
|
+
};
|
|
78
|
+
var c = s;
|
|
79
|
+
function p(i, e) {
|
|
80
|
+
return (a(e) && (i = c.unpack(i, e)), c.createGeometry(i));
|
|
81
|
+
}
|
|
82
|
+
var w = p;
|
|
83
|
+
export { w as default };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.119
|
|
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 { a } from "./chunk-PXCJYT2S.js";
|
|
27
|
+
import "./chunk-PEYJTJPE.js";
|
|
28
|
+
export { a as default };
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.119
|
|
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 { a as J } from "./chunk-PXCJYT2S.js";
|
|
27
|
+
import { a as Y } from "./chunk-ABGXSJNX.js";
|
|
28
|
+
import { a as B } from "./chunk-P37AI2DW.js";
|
|
29
|
+
import { c as X, h as W } from "./chunk-7Z5IIKOJ.js";
|
|
30
|
+
import "./chunk-KZNJOCYU.js";
|
|
31
|
+
import { a as t, b as k, d as _ } from "./chunk-POASMU2N.js";
|
|
32
|
+
import { a as v } from "./chunk-R6KGAEF6.js";
|
|
33
|
+
import "./chunk-3C7WC463.js";
|
|
34
|
+
import "./chunk-II4VNKYR.js";
|
|
35
|
+
import "./chunk-IUA6FAOZ.js";
|
|
36
|
+
import "./chunk-UH2WFNTA.js";
|
|
37
|
+
import "./chunk-PEYJTJPE.js";
|
|
38
|
+
var V = 32767,
|
|
39
|
+
it = Math.cos(v.toRadians(150)),
|
|
40
|
+
ct = new k(),
|
|
41
|
+
rt = new t();
|
|
42
|
+
function at(e, o, c, i, s, A, h) {
|
|
43
|
+
let g = e.length,
|
|
44
|
+
f = new Float64Array(g * 3);
|
|
45
|
+
for (let d = 0; d < g; ++d) {
|
|
46
|
+
let l = e[d],
|
|
47
|
+
r = o[d],
|
|
48
|
+
E = c[d],
|
|
49
|
+
n = v.lerp(i.west, i.east, l / V),
|
|
50
|
+
p = v.lerp(i.south, i.north, r / V),
|
|
51
|
+
w = v.lerp(s, A, E / V),
|
|
52
|
+
x = k.fromRadians(n, p, w, ct),
|
|
53
|
+
P = h.cartographicToCartesian(x, rt);
|
|
54
|
+
t.pack(P, f, d * 3);
|
|
55
|
+
}
|
|
56
|
+
return f;
|
|
57
|
+
}
|
|
58
|
+
function dt(e) {
|
|
59
|
+
let o = e.length,
|
|
60
|
+
c = new Uint32Array(o + 1),
|
|
61
|
+
i = 0;
|
|
62
|
+
for (let s = 0; s < o; ++s) ((c[s] = i), (i += e[s]));
|
|
63
|
+
return ((c[o] = i), c);
|
|
64
|
+
}
|
|
65
|
+
var lt = new k(),
|
|
66
|
+
ht = new k();
|
|
67
|
+
function ft(e, o, c, i) {
|
|
68
|
+
let s = i.length,
|
|
69
|
+
A = e.length,
|
|
70
|
+
h = new Uint8Array(A),
|
|
71
|
+
g = lt,
|
|
72
|
+
f = ht,
|
|
73
|
+
d = 0;
|
|
74
|
+
for (let r = 0; r < s; r++) {
|
|
75
|
+
let E = i[r],
|
|
76
|
+
n = E;
|
|
77
|
+
for (let p = 1; p < E; p++) {
|
|
78
|
+
let w = d + p,
|
|
79
|
+
x = w - 1;
|
|
80
|
+
((f.longitude = e[w]),
|
|
81
|
+
(f.latitude = o[w]),
|
|
82
|
+
(g.longitude = e[x]),
|
|
83
|
+
(g.latitude = o[x]),
|
|
84
|
+
k.equals(f, g) && (n--, (h[x] = 1)));
|
|
85
|
+
}
|
|
86
|
+
((i[r] = n), (d += E));
|
|
87
|
+
}
|
|
88
|
+
let l = 0;
|
|
89
|
+
for (let r = 0; r < A; r++)
|
|
90
|
+
h[r] !== 1 && ((e[l] = e[r]), (o[l] = o[r]), (c[l] = c[r]), l++);
|
|
91
|
+
}
|
|
92
|
+
function ot(e) {
|
|
93
|
+
let o = e * 8,
|
|
94
|
+
c = o * 3,
|
|
95
|
+
i = o * 4;
|
|
96
|
+
((this.startEllipsoidNormals = new Float32Array(c)),
|
|
97
|
+
(this.endEllipsoidNormals = new Float32Array(c)),
|
|
98
|
+
(this.startPositionAndHeights = new Float32Array(i)),
|
|
99
|
+
(this.startFaceNormalAndVertexCornerIds = new Float32Array(i)),
|
|
100
|
+
(this.endPositionAndHeights = new Float32Array(i)),
|
|
101
|
+
(this.endFaceNormalAndHalfWidths = new Float32Array(i)),
|
|
102
|
+
(this.vertexBatchIds = new Uint16Array(o)),
|
|
103
|
+
(this.indices = B.createTypedArray(o, 36 * e)),
|
|
104
|
+
(this.vec3Offset = 0),
|
|
105
|
+
(this.vec4Offset = 0),
|
|
106
|
+
(this.batchIdOffset = 0),
|
|
107
|
+
(this.indexOffset = 0),
|
|
108
|
+
(this.volumeStartIndex = 0));
|
|
109
|
+
}
|
|
110
|
+
var Q = new t(),
|
|
111
|
+
pt = new t();
|
|
112
|
+
function $(e, o, c, i, s) {
|
|
113
|
+
let A = t.subtract(c, o, pt),
|
|
114
|
+
h = t.subtract(o, e, Q);
|
|
115
|
+
return (
|
|
116
|
+
t.normalize(A, A),
|
|
117
|
+
t.normalize(h, h),
|
|
118
|
+
t.dot(A, h) < it && (h = t.multiplyByScalar(h, -1, Q)),
|
|
119
|
+
t.add(A, h, s),
|
|
120
|
+
t.equals(s, t.ZERO) && (s = t.subtract(e, o)),
|
|
121
|
+
t.cross(s, i, s),
|
|
122
|
+
t.cross(i, s, s),
|
|
123
|
+
t.normalize(s, s),
|
|
124
|
+
s
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
var st = [
|
|
128
|
+
0, 2, 6, 0, 6, 4, 0, 1, 3, 0, 3, 2, 0, 4, 5, 0, 5, 1, 5, 3, 1, 5, 7, 3, 7,
|
|
129
|
+
5, 4, 7, 4, 6, 7, 6, 2, 7, 2, 3,
|
|
130
|
+
],
|
|
131
|
+
j = st.length,
|
|
132
|
+
tt = new t(),
|
|
133
|
+
ut = new t(),
|
|
134
|
+
mt = new t(),
|
|
135
|
+
At = new t(),
|
|
136
|
+
Nt = new t();
|
|
137
|
+
ot.prototype.addVolume = function (e, o, c, i, s, A, h, g, f, d) {
|
|
138
|
+
let l = t.add(o, f, tt),
|
|
139
|
+
r = d.geodeticSurfaceNormal(l, ut);
|
|
140
|
+
l = t.add(c, f, tt);
|
|
141
|
+
let E = d.geodeticSurfaceNormal(l, At),
|
|
142
|
+
n = $(e, o, c, r, mt),
|
|
143
|
+
p = $(i, c, o, E, Nt),
|
|
144
|
+
w = this.startEllipsoidNormals,
|
|
145
|
+
x = this.endEllipsoidNormals,
|
|
146
|
+
P = this.startPositionAndHeights,
|
|
147
|
+
H = this.startFaceNormalAndVertexCornerIds,
|
|
148
|
+
b = this.endPositionAndHeights,
|
|
149
|
+
a = this.endFaceNormalAndHalfWidths,
|
|
150
|
+
F = this.vertexBatchIds,
|
|
151
|
+
m = this.batchIdOffset,
|
|
152
|
+
I = this.vec3Offset,
|
|
153
|
+
u = this.vec4Offset,
|
|
154
|
+
N;
|
|
155
|
+
for (N = 0; N < 8; N++)
|
|
156
|
+
(t.pack(r, w, I),
|
|
157
|
+
t.pack(E, x, I),
|
|
158
|
+
t.pack(o, P, u),
|
|
159
|
+
(P[u + 3] = s),
|
|
160
|
+
t.pack(c, b, u),
|
|
161
|
+
(b[u + 3] = A),
|
|
162
|
+
t.pack(n, H, u),
|
|
163
|
+
(H[u + 3] = N),
|
|
164
|
+
t.pack(p, a, u),
|
|
165
|
+
(a[u + 3] = h),
|
|
166
|
+
(F[m++] = g),
|
|
167
|
+
(I += 3),
|
|
168
|
+
(u += 4));
|
|
169
|
+
((this.batchIdOffset = m), (this.vec3Offset = I), (this.vec4Offset = u));
|
|
170
|
+
let C = this.indices,
|
|
171
|
+
y = this.volumeStartIndex,
|
|
172
|
+
z = this.indexOffset;
|
|
173
|
+
for (N = 0; N < j; N++) C[z + N] = st[N] + y;
|
|
174
|
+
((this.volumeStartIndex += 8), (this.indexOffset += j));
|
|
175
|
+
};
|
|
176
|
+
var gt = new W(),
|
|
177
|
+
Et = new _(),
|
|
178
|
+
wt = new t(),
|
|
179
|
+
M = new t(),
|
|
180
|
+
It = new t(),
|
|
181
|
+
xt = new t(),
|
|
182
|
+
T = new t();
|
|
183
|
+
function Pt(e, o) {
|
|
184
|
+
let c = new Uint16Array(e.positions),
|
|
185
|
+
i = new Uint16Array(e.widths),
|
|
186
|
+
s = new Uint32Array(e.counts),
|
|
187
|
+
A = new Uint16Array(e.batchIds),
|
|
188
|
+
h = gt,
|
|
189
|
+
g = Et,
|
|
190
|
+
f = wt,
|
|
191
|
+
d = new Float64Array(e.packedBuffer),
|
|
192
|
+
l = 0,
|
|
193
|
+
r = d[l++],
|
|
194
|
+
E = d[l++];
|
|
195
|
+
(W.unpack(d, l, h),
|
|
196
|
+
(l += W.packedLength),
|
|
197
|
+
_.unpack(d, l, g),
|
|
198
|
+
(l += _.packedLength),
|
|
199
|
+
t.unpack(d, l, f));
|
|
200
|
+
let n,
|
|
201
|
+
p = c.length / 3,
|
|
202
|
+
w = c.subarray(0, p),
|
|
203
|
+
x = c.subarray(p, 2 * p),
|
|
204
|
+
P = c.subarray(2 * p, 3 * p);
|
|
205
|
+
(Y.zigZagDeltaDecode(w, x, P), ft(w, x, P, s));
|
|
206
|
+
let H = s.length,
|
|
207
|
+
b = 0;
|
|
208
|
+
for (n = 0; n < H; n++) {
|
|
209
|
+
let y = s[n];
|
|
210
|
+
b += y - 1;
|
|
211
|
+
}
|
|
212
|
+
let a = new ot(b),
|
|
213
|
+
F = at(w, x, P, h, r, E, g, f);
|
|
214
|
+
p = w.length;
|
|
215
|
+
let m = new Float32Array(p * 3);
|
|
216
|
+
for (n = 0; n < p; ++n)
|
|
217
|
+
((m[n * 3] = F[n * 3] - f.x),
|
|
218
|
+
(m[n * 3 + 1] = F[n * 3 + 1] - f.y),
|
|
219
|
+
(m[n * 3 + 2] = F[n * 3 + 2] - f.z));
|
|
220
|
+
let I = 0,
|
|
221
|
+
u = 0;
|
|
222
|
+
for (n = 0; n < H; n++) {
|
|
223
|
+
let y = s[n] - 1,
|
|
224
|
+
z = i[n] * 0.5,
|
|
225
|
+
et = A[n],
|
|
226
|
+
q = I;
|
|
227
|
+
for (let D = 0; D < y; D++) {
|
|
228
|
+
let S = t.unpack(m, I, It),
|
|
229
|
+
O = t.unpack(m, I + 3, xt),
|
|
230
|
+
G = P[u],
|
|
231
|
+
Z = P[u + 1];
|
|
232
|
+
((G = v.lerp(r, E, G / V)), (Z = v.lerp(r, E, Z / V)), u++);
|
|
233
|
+
let L = M,
|
|
234
|
+
R = T;
|
|
235
|
+
if (D === 0) {
|
|
236
|
+
let U = q + y * 3,
|
|
237
|
+
K = t.unpack(m, U, M);
|
|
238
|
+
if (t.equals(K, S)) t.unpack(m, U - 3, L);
|
|
239
|
+
else {
|
|
240
|
+
let nt = t.subtract(S, O, M);
|
|
241
|
+
L = t.add(nt, S, M);
|
|
242
|
+
}
|
|
243
|
+
} else t.unpack(m, I - 3, L);
|
|
244
|
+
if (D === y - 1) {
|
|
245
|
+
let U = t.unpack(m, q, T);
|
|
246
|
+
if (t.equals(U, O)) t.unpack(m, q + 3, R);
|
|
247
|
+
else {
|
|
248
|
+
let K = t.subtract(O, S, T);
|
|
249
|
+
R = t.add(K, O, T);
|
|
250
|
+
}
|
|
251
|
+
} else t.unpack(m, I + 6, R);
|
|
252
|
+
(a.addVolume(L, S, O, R, G, Z, z, et, f, g), (I += 3));
|
|
253
|
+
}
|
|
254
|
+
((I += 3), u++);
|
|
255
|
+
}
|
|
256
|
+
let N = a.indices;
|
|
257
|
+
(o.push(a.startEllipsoidNormals.buffer),
|
|
258
|
+
o.push(a.endEllipsoidNormals.buffer),
|
|
259
|
+
o.push(a.startPositionAndHeights.buffer),
|
|
260
|
+
o.push(a.startFaceNormalAndVertexCornerIds.buffer),
|
|
261
|
+
o.push(a.endPositionAndHeights.buffer),
|
|
262
|
+
o.push(a.endFaceNormalAndHalfWidths.buffer),
|
|
263
|
+
o.push(a.vertexBatchIds.buffer),
|
|
264
|
+
o.push(N.buffer));
|
|
265
|
+
let C = {
|
|
266
|
+
indexDatatype:
|
|
267
|
+
N.BYTES_PER_ELEMENT === 2 ? B.UNSIGNED_SHORT : B.UNSIGNED_INT,
|
|
268
|
+
startEllipsoidNormals: a.startEllipsoidNormals.buffer,
|
|
269
|
+
endEllipsoidNormals: a.endEllipsoidNormals.buffer,
|
|
270
|
+
startPositionAndHeights: a.startPositionAndHeights.buffer,
|
|
271
|
+
startFaceNormalAndVertexCornerIds:
|
|
272
|
+
a.startFaceNormalAndVertexCornerIds.buffer,
|
|
273
|
+
endPositionAndHeights: a.endPositionAndHeights.buffer,
|
|
274
|
+
endFaceNormalAndHalfWidths: a.endFaceNormalAndHalfWidths.buffer,
|
|
275
|
+
vertexBatchIds: a.vertexBatchIds.buffer,
|
|
276
|
+
indices: N.buffer,
|
|
277
|
+
};
|
|
278
|
+
if (e.keepDecodedPositions) {
|
|
279
|
+
let y = dt(s);
|
|
280
|
+
(o.push(F.buffer, y.buffer),
|
|
281
|
+
(C = X(C, {
|
|
282
|
+
decodedPositions: F.buffer,
|
|
283
|
+
decodedPositionOffsets: y.buffer,
|
|
284
|
+
})));
|
|
285
|
+
}
|
|
286
|
+
return C;
|
|
287
|
+
}
|
|
288
|
+
var Vt = J(Pt);
|
|
289
|
+
export { Vt as default };
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Cesium - https://github.com/CesiumGS/cesium
|
|
4
|
+
* Version 1.119
|
|
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 { a as P } from "./chunk-V7JEDBOE.js";
|
|
27
|
+
import { a as z } from "./chunk-IAC5XVZV.js";
|
|
28
|
+
import "./chunk-GFN7NNSJ.js";
|
|
29
|
+
import { a as H } from "./chunk-TOGHF3VN.js";
|
|
30
|
+
import { a as Y } from "./chunk-PXCJYT2S.js";
|
|
31
|
+
import { a as j } from "./chunk-VBIROZR5.js";
|
|
32
|
+
import "./chunk-ILGBPNP6.js";
|
|
33
|
+
import "./chunk-HEEMUCG6.js";
|
|
34
|
+
import { a as W } from "./chunk-P37AI2DW.js";
|
|
35
|
+
import "./chunk-T6BE4RZK.js";
|
|
36
|
+
import "./chunk-X5IHHI6X.js";
|
|
37
|
+
import { d as E } from "./chunk-TMSETF7M.js";
|
|
38
|
+
import { b as d } from "./chunk-7Z5IIKOJ.js";
|
|
39
|
+
import "./chunk-KZNJOCYU.js";
|
|
40
|
+
import { a as o } from "./chunk-POASMU2N.js";
|
|
41
|
+
import "./chunk-R6KGAEF6.js";
|
|
42
|
+
import "./chunk-3C7WC463.js";
|
|
43
|
+
import "./chunk-II4VNKYR.js";
|
|
44
|
+
import "./chunk-IUA6FAOZ.js";
|
|
45
|
+
import "./chunk-UH2WFNTA.js";
|
|
46
|
+
import { e as l } from "./chunk-PEYJTJPE.js";
|
|
47
|
+
function X(e) {
|
|
48
|
+
((this.offset = e.offset),
|
|
49
|
+
(this.count = e.count),
|
|
50
|
+
(this.color = e.color),
|
|
51
|
+
(this.batchIds = e.batchIds));
|
|
52
|
+
}
|
|
53
|
+
var J = X;
|
|
54
|
+
var S = new o(),
|
|
55
|
+
$ = d.packedLength + o.packedLength,
|
|
56
|
+
ee = d.packedLength + 2,
|
|
57
|
+
ne = d.packedLength + o.packedLength,
|
|
58
|
+
te = o.packedLength + 1,
|
|
59
|
+
u = { modelMatrix: new d(), boundingVolume: new E() };
|
|
60
|
+
function oe(e, c) {
|
|
61
|
+
let n = c * $,
|
|
62
|
+
i = o.unpack(e, n, S);
|
|
63
|
+
n += o.packedLength;
|
|
64
|
+
let r = d.unpack(e, n, u.modelMatrix);
|
|
65
|
+
d.multiplyByScale(r, i, r);
|
|
66
|
+
let t = u.boundingVolume;
|
|
67
|
+
return (o.clone(o.ZERO, t.center), (t.radius = Math.sqrt(3)), u);
|
|
68
|
+
}
|
|
69
|
+
function ce(e, c) {
|
|
70
|
+
let n = c * ee,
|
|
71
|
+
i = e[n++],
|
|
72
|
+
r = e[n++],
|
|
73
|
+
t = o.fromElements(i, i, r, S),
|
|
74
|
+
s = d.unpack(e, n, u.modelMatrix);
|
|
75
|
+
d.multiplyByScale(s, t, s);
|
|
76
|
+
let h = u.boundingVolume;
|
|
77
|
+
return (o.clone(o.ZERO, h.center), (h.radius = Math.sqrt(2)), u);
|
|
78
|
+
}
|
|
79
|
+
function se(e, c) {
|
|
80
|
+
let n = c * ne,
|
|
81
|
+
i = o.unpack(e, n, S);
|
|
82
|
+
n += o.packedLength;
|
|
83
|
+
let r = d.unpack(e, n, u.modelMatrix);
|
|
84
|
+
d.multiplyByScale(r, i, r);
|
|
85
|
+
let t = u.boundingVolume;
|
|
86
|
+
return (o.clone(o.ZERO, t.center), (t.radius = 1), u);
|
|
87
|
+
}
|
|
88
|
+
function ie(e, c) {
|
|
89
|
+
let n = c * te,
|
|
90
|
+
i = e[n++],
|
|
91
|
+
r = o.unpack(e, n, S),
|
|
92
|
+
t = d.fromTranslation(r, u.modelMatrix);
|
|
93
|
+
d.multiplyByUniformScale(t, i, t);
|
|
94
|
+
let s = u.boundingVolume;
|
|
95
|
+
return (o.clone(o.ZERO, s.center), (s.radius = 1), u);
|
|
96
|
+
}
|
|
97
|
+
var de = new o();
|
|
98
|
+
function R(e, c, n, i, r) {
|
|
99
|
+
if (!l(c)) return;
|
|
100
|
+
let t = n.length,
|
|
101
|
+
s = i.attributes.position.values,
|
|
102
|
+
h = i.indices,
|
|
103
|
+
a = e.positions,
|
|
104
|
+
x = e.vertexBatchIds,
|
|
105
|
+
y = e.indices,
|
|
106
|
+
I = e.batchIds,
|
|
107
|
+
p = e.batchTableColors,
|
|
108
|
+
T = e.batchedIndices,
|
|
109
|
+
U = e.indexOffsets,
|
|
110
|
+
v = e.indexCounts,
|
|
111
|
+
L = e.boundingVolumes,
|
|
112
|
+
F = e.modelMatrix,
|
|
113
|
+
Z = e.center,
|
|
114
|
+
V = e.positionOffset,
|
|
115
|
+
B = e.batchIdIndex,
|
|
116
|
+
O = e.indexOffset,
|
|
117
|
+
D = e.batchedIndicesOffset;
|
|
118
|
+
for (let w = 0; w < t; ++w) {
|
|
119
|
+
let C = r(c, w),
|
|
120
|
+
k = C.modelMatrix;
|
|
121
|
+
d.multiply(F, k, k);
|
|
122
|
+
let M = n[w],
|
|
123
|
+
A = s.length;
|
|
124
|
+
for (let f = 0; f < A; f += 3) {
|
|
125
|
+
let m = o.unpack(s, f, de);
|
|
126
|
+
(d.multiplyByPoint(k, m, m),
|
|
127
|
+
o.subtract(m, Z, m),
|
|
128
|
+
o.pack(m, a, V * 3 + f),
|
|
129
|
+
(x[B++] = M));
|
|
130
|
+
}
|
|
131
|
+
let b = h.length;
|
|
132
|
+
for (let f = 0; f < b; ++f) y[O + f] = h[f] + V;
|
|
133
|
+
let g = w + D;
|
|
134
|
+
((T[g] = new J({
|
|
135
|
+
offset: O,
|
|
136
|
+
count: b,
|
|
137
|
+
color: P.fromRgba(p[M]),
|
|
138
|
+
batchIds: [M],
|
|
139
|
+
})),
|
|
140
|
+
(I[g] = M),
|
|
141
|
+
(U[g] = O),
|
|
142
|
+
(v[g] = b),
|
|
143
|
+
(L[g] = E.transform(C.boundingVolume, k)),
|
|
144
|
+
(V += A / 3),
|
|
145
|
+
(O += b));
|
|
146
|
+
}
|
|
147
|
+
((e.positionOffset = V),
|
|
148
|
+
(e.batchIdIndex = B),
|
|
149
|
+
(e.indexOffset = O),
|
|
150
|
+
(e.batchedIndicesOffset += t));
|
|
151
|
+
}
|
|
152
|
+
var K = new o(),
|
|
153
|
+
Q = new d();
|
|
154
|
+
function re(e) {
|
|
155
|
+
let c = new Float64Array(e),
|
|
156
|
+
n = 0;
|
|
157
|
+
(o.unpack(c, n, K), (n += o.packedLength), d.unpack(c, n, Q));
|
|
158
|
+
}
|
|
159
|
+
function le(e) {
|
|
160
|
+
let c = e.length,
|
|
161
|
+
n = 0;
|
|
162
|
+
for (let i = 0; i < c; ++i) n += P.packedLength + 3 + e[i].batchIds.length;
|
|
163
|
+
return n;
|
|
164
|
+
}
|
|
165
|
+
function ae(e, c, n) {
|
|
166
|
+
let i = n.length,
|
|
167
|
+
r = 2 + i * E.packedLength + 1 + le(c),
|
|
168
|
+
t = new Float64Array(r),
|
|
169
|
+
s = 0;
|
|
170
|
+
((t[s++] = e), (t[s++] = i));
|
|
171
|
+
for (let a = 0; a < i; ++a) (E.pack(n[a], t, s), (s += E.packedLength));
|
|
172
|
+
let h = c.length;
|
|
173
|
+
t[s++] = h;
|
|
174
|
+
for (let a = 0; a < h; ++a) {
|
|
175
|
+
let x = c[a];
|
|
176
|
+
(P.pack(x.color, t, s),
|
|
177
|
+
(s += P.packedLength),
|
|
178
|
+
(t[s++] = x.offset),
|
|
179
|
+
(t[s++] = x.count));
|
|
180
|
+
let y = x.batchIds,
|
|
181
|
+
I = y.length;
|
|
182
|
+
t[s++] = I;
|
|
183
|
+
for (let p = 0; p < I; ++p) t[s++] = y[p];
|
|
184
|
+
}
|
|
185
|
+
return t;
|
|
186
|
+
}
|
|
187
|
+
function fe(e, c) {
|
|
188
|
+
let n = l(e.boxes) ? new Float32Array(e.boxes) : void 0,
|
|
189
|
+
i = l(e.boxBatchIds) ? new Uint16Array(e.boxBatchIds) : void 0,
|
|
190
|
+
r = l(e.cylinders) ? new Float32Array(e.cylinders) : void 0,
|
|
191
|
+
t = l(e.cylinderBatchIds) ? new Uint16Array(e.cylinderBatchIds) : void 0,
|
|
192
|
+
s = l(e.ellipsoids) ? new Float32Array(e.ellipsoids) : void 0,
|
|
193
|
+
h = l(e.ellipsoidBatchIds) ? new Uint16Array(e.ellipsoidBatchIds) : void 0,
|
|
194
|
+
a = l(e.spheres) ? new Float32Array(e.spheres) : void 0,
|
|
195
|
+
x = l(e.sphereBatchIds) ? new Uint16Array(e.sphereBatchIds) : void 0,
|
|
196
|
+
y = l(n) ? i.length : 0,
|
|
197
|
+
I = l(r) ? t.length : 0,
|
|
198
|
+
p = l(s) ? h.length : 0,
|
|
199
|
+
T = l(a) ? x.length : 0,
|
|
200
|
+
U = j.getUnitBox(),
|
|
201
|
+
v = z.getUnitCylinder(),
|
|
202
|
+
L = H.getUnitEllipsoid(),
|
|
203
|
+
F = U.attributes.position.values,
|
|
204
|
+
Z = v.attributes.position.values,
|
|
205
|
+
V = L.attributes.position.values,
|
|
206
|
+
B = F.length * y;
|
|
207
|
+
((B += Z.length * I), (B += V.length * (p + T)));
|
|
208
|
+
let O = U.indices,
|
|
209
|
+
D = v.indices,
|
|
210
|
+
w = L.indices,
|
|
211
|
+
C = O.length * y;
|
|
212
|
+
((C += D.length * I), (C += w.length * (p + T)));
|
|
213
|
+
let k = new Float32Array(B),
|
|
214
|
+
M = new Uint16Array(B / 3),
|
|
215
|
+
A = W.createTypedArray(B / 3, C),
|
|
216
|
+
b = y + I + p + T,
|
|
217
|
+
g = new Uint16Array(b),
|
|
218
|
+
f = new Array(b),
|
|
219
|
+
m = new Uint32Array(b),
|
|
220
|
+
q = new Uint32Array(b),
|
|
221
|
+
_ = new Array(b);
|
|
222
|
+
re(e.packedBuffer);
|
|
223
|
+
let G = {
|
|
224
|
+
batchTableColors: new Uint32Array(e.batchTableColors),
|
|
225
|
+
positions: k,
|
|
226
|
+
vertexBatchIds: M,
|
|
227
|
+
indices: A,
|
|
228
|
+
batchIds: g,
|
|
229
|
+
batchedIndices: f,
|
|
230
|
+
indexOffsets: m,
|
|
231
|
+
indexCounts: q,
|
|
232
|
+
boundingVolumes: _,
|
|
233
|
+
positionOffset: 0,
|
|
234
|
+
batchIdIndex: 0,
|
|
235
|
+
indexOffset: 0,
|
|
236
|
+
batchedIndicesOffset: 0,
|
|
237
|
+
modelMatrix: Q,
|
|
238
|
+
center: K,
|
|
239
|
+
};
|
|
240
|
+
(R(G, n, i, U, oe), R(G, r, t, v, ce), R(G, s, h, L, se), R(G, a, x, L, ie));
|
|
241
|
+
let N = ae(A.BYTES_PER_ELEMENT, f, _);
|
|
242
|
+
return (
|
|
243
|
+
c.push(k.buffer, M.buffer, A.buffer),
|
|
244
|
+
c.push(g.buffer, m.buffer, q.buffer),
|
|
245
|
+
c.push(N.buffer),
|
|
246
|
+
{
|
|
247
|
+
positions: k.buffer,
|
|
248
|
+
vertexBatchIds: M.buffer,
|
|
249
|
+
indices: A.buffer,
|
|
250
|
+
indexOffsets: m.buffer,
|
|
251
|
+
indexCounts: q.buffer,
|
|
252
|
+
batchIds: g.buffer,
|
|
253
|
+
packedBuffer: N.buffer,
|
|
254
|
+
}
|
|
255
|
+
);
|
|
256
|
+
}
|
|
257
|
+
var Oe = Y(fe);
|
|
258
|
+
export { Oe as default };
|