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,633 @@
|
|
|
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 b } from "./chunk-ILGBPNP6.js";
|
|
27
|
+
import { a as u } from "./chunk-HEEMUCG6.js";
|
|
28
|
+
import { a as O } from "./chunk-T6BE4RZK.js";
|
|
29
|
+
import { b as w, c as h, d as x } from "./chunk-X5IHHI6X.js";
|
|
30
|
+
import { d } from "./chunk-TMSETF7M.js";
|
|
31
|
+
import { a as y } from "./chunk-KZNJOCYU.js";
|
|
32
|
+
import { a as i } from "./chunk-POASMU2N.js";
|
|
33
|
+
import { a as p } from "./chunk-IUA6FAOZ.js";
|
|
34
|
+
import { a as z, b as c } from "./chunk-UH2WFNTA.js";
|
|
35
|
+
import { e as A } from "./chunk-PEYJTJPE.js";
|
|
36
|
+
var D = new i();
|
|
37
|
+
function f(r) {
|
|
38
|
+
r = p(r, p.EMPTY_OBJECT);
|
|
39
|
+
let o = r.minimum,
|
|
40
|
+
m = r.maximum;
|
|
41
|
+
if (
|
|
42
|
+
(c.typeOf.object("min", o),
|
|
43
|
+
c.typeOf.object("max", m),
|
|
44
|
+
A(r.offsetAttribute) && r.offsetAttribute === b.TOP)
|
|
45
|
+
)
|
|
46
|
+
throw new z(
|
|
47
|
+
"GeometryOffsetAttribute.TOP is not a supported options.offsetAttribute for this geometry.",
|
|
48
|
+
);
|
|
49
|
+
let a = p(r.vertexFormat, u.DEFAULT);
|
|
50
|
+
((this._minimum = i.clone(o)),
|
|
51
|
+
(this._maximum = i.clone(m)),
|
|
52
|
+
(this._vertexFormat = a),
|
|
53
|
+
(this._offsetAttribute = r.offsetAttribute),
|
|
54
|
+
(this._workerName = "createBoxGeometry"));
|
|
55
|
+
}
|
|
56
|
+
f.fromDimensions = function (r) {
|
|
57
|
+
r = p(r, p.EMPTY_OBJECT);
|
|
58
|
+
let o = r.dimensions;
|
|
59
|
+
(c.typeOf.object("dimensions", o),
|
|
60
|
+
c.typeOf.number.greaterThanOrEquals("dimensions.x", o.x, 0),
|
|
61
|
+
c.typeOf.number.greaterThanOrEquals("dimensions.y", o.y, 0),
|
|
62
|
+
c.typeOf.number.greaterThanOrEquals("dimensions.z", o.z, 0));
|
|
63
|
+
let m = i.multiplyByScalar(o, 0.5, new i());
|
|
64
|
+
return new f({
|
|
65
|
+
minimum: i.negate(m, new i()),
|
|
66
|
+
maximum: m,
|
|
67
|
+
vertexFormat: r.vertexFormat,
|
|
68
|
+
offsetAttribute: r.offsetAttribute,
|
|
69
|
+
});
|
|
70
|
+
};
|
|
71
|
+
f.fromAxisAlignedBoundingBox = function (r) {
|
|
72
|
+
return (
|
|
73
|
+
c.typeOf.object("boundingBox", r),
|
|
74
|
+
new f({ minimum: r.minimum, maximum: r.maximum })
|
|
75
|
+
);
|
|
76
|
+
};
|
|
77
|
+
f.packedLength = 2 * i.packedLength + u.packedLength + 1;
|
|
78
|
+
f.pack = function (r, o, m) {
|
|
79
|
+
return (
|
|
80
|
+
c.typeOf.object("value", r),
|
|
81
|
+
c.defined("array", o),
|
|
82
|
+
(m = p(m, 0)),
|
|
83
|
+
i.pack(r._minimum, o, m),
|
|
84
|
+
i.pack(r._maximum, o, m + i.packedLength),
|
|
85
|
+
u.pack(r._vertexFormat, o, m + 2 * i.packedLength),
|
|
86
|
+
(o[m + 2 * i.packedLength + u.packedLength] = p(r._offsetAttribute, -1)),
|
|
87
|
+
o
|
|
88
|
+
);
|
|
89
|
+
};
|
|
90
|
+
var _ = new i(),
|
|
91
|
+
g = new i(),
|
|
92
|
+
k = new u(),
|
|
93
|
+
F = { minimum: _, maximum: g, vertexFormat: k, offsetAttribute: void 0 };
|
|
94
|
+
f.unpack = function (r, o, m) {
|
|
95
|
+
(c.defined("array", r), (o = p(o, 0)));
|
|
96
|
+
let a = i.unpack(r, o, _),
|
|
97
|
+
s = i.unpack(r, o + i.packedLength, g),
|
|
98
|
+
n = u.unpack(r, o + 2 * i.packedLength, k),
|
|
99
|
+
e = r[o + 2 * i.packedLength + u.packedLength];
|
|
100
|
+
return A(m)
|
|
101
|
+
? ((m._minimum = i.clone(a, m._minimum)),
|
|
102
|
+
(m._maximum = i.clone(s, m._maximum)),
|
|
103
|
+
(m._vertexFormat = u.clone(n, m._vertexFormat)),
|
|
104
|
+
(m._offsetAttribute = e === -1 ? void 0 : e),
|
|
105
|
+
m)
|
|
106
|
+
: ((F.offsetAttribute = e === -1 ? void 0 : e), new f(F));
|
|
107
|
+
};
|
|
108
|
+
f.createGeometry = function (r) {
|
|
109
|
+
let o = r._minimum,
|
|
110
|
+
m = r._maximum,
|
|
111
|
+
a = r._vertexFormat;
|
|
112
|
+
if (i.equals(o, m)) return;
|
|
113
|
+
let s = new O(),
|
|
114
|
+
n,
|
|
115
|
+
e;
|
|
116
|
+
if (a.position && (a.st || a.normal || a.tangent || a.bitangent)) {
|
|
117
|
+
if (
|
|
118
|
+
(a.position &&
|
|
119
|
+
((e = new Float64Array(6 * 4 * 3)),
|
|
120
|
+
(e[0] = o.x),
|
|
121
|
+
(e[1] = o.y),
|
|
122
|
+
(e[2] = m.z),
|
|
123
|
+
(e[3] = m.x),
|
|
124
|
+
(e[4] = o.y),
|
|
125
|
+
(e[5] = m.z),
|
|
126
|
+
(e[6] = m.x),
|
|
127
|
+
(e[7] = m.y),
|
|
128
|
+
(e[8] = m.z),
|
|
129
|
+
(e[9] = o.x),
|
|
130
|
+
(e[10] = m.y),
|
|
131
|
+
(e[11] = m.z),
|
|
132
|
+
(e[12] = o.x),
|
|
133
|
+
(e[13] = o.y),
|
|
134
|
+
(e[14] = o.z),
|
|
135
|
+
(e[15] = m.x),
|
|
136
|
+
(e[16] = o.y),
|
|
137
|
+
(e[17] = o.z),
|
|
138
|
+
(e[18] = m.x),
|
|
139
|
+
(e[19] = m.y),
|
|
140
|
+
(e[20] = o.z),
|
|
141
|
+
(e[21] = o.x),
|
|
142
|
+
(e[22] = m.y),
|
|
143
|
+
(e[23] = o.z),
|
|
144
|
+
(e[24] = m.x),
|
|
145
|
+
(e[25] = o.y),
|
|
146
|
+
(e[26] = o.z),
|
|
147
|
+
(e[27] = m.x),
|
|
148
|
+
(e[28] = m.y),
|
|
149
|
+
(e[29] = o.z),
|
|
150
|
+
(e[30] = m.x),
|
|
151
|
+
(e[31] = m.y),
|
|
152
|
+
(e[32] = m.z),
|
|
153
|
+
(e[33] = m.x),
|
|
154
|
+
(e[34] = o.y),
|
|
155
|
+
(e[35] = m.z),
|
|
156
|
+
(e[36] = o.x),
|
|
157
|
+
(e[37] = o.y),
|
|
158
|
+
(e[38] = o.z),
|
|
159
|
+
(e[39] = o.x),
|
|
160
|
+
(e[40] = m.y),
|
|
161
|
+
(e[41] = o.z),
|
|
162
|
+
(e[42] = o.x),
|
|
163
|
+
(e[43] = m.y),
|
|
164
|
+
(e[44] = m.z),
|
|
165
|
+
(e[45] = o.x),
|
|
166
|
+
(e[46] = o.y),
|
|
167
|
+
(e[47] = m.z),
|
|
168
|
+
(e[48] = o.x),
|
|
169
|
+
(e[49] = m.y),
|
|
170
|
+
(e[50] = o.z),
|
|
171
|
+
(e[51] = m.x),
|
|
172
|
+
(e[52] = m.y),
|
|
173
|
+
(e[53] = o.z),
|
|
174
|
+
(e[54] = m.x),
|
|
175
|
+
(e[55] = m.y),
|
|
176
|
+
(e[56] = m.z),
|
|
177
|
+
(e[57] = o.x),
|
|
178
|
+
(e[58] = m.y),
|
|
179
|
+
(e[59] = m.z),
|
|
180
|
+
(e[60] = o.x),
|
|
181
|
+
(e[61] = o.y),
|
|
182
|
+
(e[62] = o.z),
|
|
183
|
+
(e[63] = m.x),
|
|
184
|
+
(e[64] = o.y),
|
|
185
|
+
(e[65] = o.z),
|
|
186
|
+
(e[66] = m.x),
|
|
187
|
+
(e[67] = o.y),
|
|
188
|
+
(e[68] = m.z),
|
|
189
|
+
(e[69] = o.x),
|
|
190
|
+
(e[70] = o.y),
|
|
191
|
+
(e[71] = m.z),
|
|
192
|
+
(s.position = new x({
|
|
193
|
+
componentDatatype: y.DOUBLE,
|
|
194
|
+
componentsPerAttribute: 3,
|
|
195
|
+
values: e,
|
|
196
|
+
}))),
|
|
197
|
+
a.normal)
|
|
198
|
+
) {
|
|
199
|
+
let t = new Float32Array(72);
|
|
200
|
+
((t[0] = 0),
|
|
201
|
+
(t[1] = 0),
|
|
202
|
+
(t[2] = 1),
|
|
203
|
+
(t[3] = 0),
|
|
204
|
+
(t[4] = 0),
|
|
205
|
+
(t[5] = 1),
|
|
206
|
+
(t[6] = 0),
|
|
207
|
+
(t[7] = 0),
|
|
208
|
+
(t[8] = 1),
|
|
209
|
+
(t[9] = 0),
|
|
210
|
+
(t[10] = 0),
|
|
211
|
+
(t[11] = 1),
|
|
212
|
+
(t[12] = 0),
|
|
213
|
+
(t[13] = 0),
|
|
214
|
+
(t[14] = -1),
|
|
215
|
+
(t[15] = 0),
|
|
216
|
+
(t[16] = 0),
|
|
217
|
+
(t[17] = -1),
|
|
218
|
+
(t[18] = 0),
|
|
219
|
+
(t[19] = 0),
|
|
220
|
+
(t[20] = -1),
|
|
221
|
+
(t[21] = 0),
|
|
222
|
+
(t[22] = 0),
|
|
223
|
+
(t[23] = -1),
|
|
224
|
+
(t[24] = 1),
|
|
225
|
+
(t[25] = 0),
|
|
226
|
+
(t[26] = 0),
|
|
227
|
+
(t[27] = 1),
|
|
228
|
+
(t[28] = 0),
|
|
229
|
+
(t[29] = 0),
|
|
230
|
+
(t[30] = 1),
|
|
231
|
+
(t[31] = 0),
|
|
232
|
+
(t[32] = 0),
|
|
233
|
+
(t[33] = 1),
|
|
234
|
+
(t[34] = 0),
|
|
235
|
+
(t[35] = 0),
|
|
236
|
+
(t[36] = -1),
|
|
237
|
+
(t[37] = 0),
|
|
238
|
+
(t[38] = 0),
|
|
239
|
+
(t[39] = -1),
|
|
240
|
+
(t[40] = 0),
|
|
241
|
+
(t[41] = 0),
|
|
242
|
+
(t[42] = -1),
|
|
243
|
+
(t[43] = 0),
|
|
244
|
+
(t[44] = 0),
|
|
245
|
+
(t[45] = -1),
|
|
246
|
+
(t[46] = 0),
|
|
247
|
+
(t[47] = 0),
|
|
248
|
+
(t[48] = 0),
|
|
249
|
+
(t[49] = 1),
|
|
250
|
+
(t[50] = 0),
|
|
251
|
+
(t[51] = 0),
|
|
252
|
+
(t[52] = 1),
|
|
253
|
+
(t[53] = 0),
|
|
254
|
+
(t[54] = 0),
|
|
255
|
+
(t[55] = 1),
|
|
256
|
+
(t[56] = 0),
|
|
257
|
+
(t[57] = 0),
|
|
258
|
+
(t[58] = 1),
|
|
259
|
+
(t[59] = 0),
|
|
260
|
+
(t[60] = 0),
|
|
261
|
+
(t[61] = -1),
|
|
262
|
+
(t[62] = 0),
|
|
263
|
+
(t[63] = 0),
|
|
264
|
+
(t[64] = -1),
|
|
265
|
+
(t[65] = 0),
|
|
266
|
+
(t[66] = 0),
|
|
267
|
+
(t[67] = -1),
|
|
268
|
+
(t[68] = 0),
|
|
269
|
+
(t[69] = 0),
|
|
270
|
+
(t[70] = -1),
|
|
271
|
+
(t[71] = 0),
|
|
272
|
+
(s.normal = new x({
|
|
273
|
+
componentDatatype: y.FLOAT,
|
|
274
|
+
componentsPerAttribute: 3,
|
|
275
|
+
values: t,
|
|
276
|
+
})));
|
|
277
|
+
}
|
|
278
|
+
if (a.st) {
|
|
279
|
+
let t = new Float32Array(48);
|
|
280
|
+
((t[0] = 0),
|
|
281
|
+
(t[1] = 0),
|
|
282
|
+
(t[2] = 1),
|
|
283
|
+
(t[3] = 0),
|
|
284
|
+
(t[4] = 1),
|
|
285
|
+
(t[5] = 1),
|
|
286
|
+
(t[6] = 0),
|
|
287
|
+
(t[7] = 1),
|
|
288
|
+
(t[8] = 1),
|
|
289
|
+
(t[9] = 0),
|
|
290
|
+
(t[10] = 0),
|
|
291
|
+
(t[11] = 0),
|
|
292
|
+
(t[12] = 0),
|
|
293
|
+
(t[13] = 1),
|
|
294
|
+
(t[14] = 1),
|
|
295
|
+
(t[15] = 1),
|
|
296
|
+
(t[16] = 0),
|
|
297
|
+
(t[17] = 0),
|
|
298
|
+
(t[18] = 1),
|
|
299
|
+
(t[19] = 0),
|
|
300
|
+
(t[20] = 1),
|
|
301
|
+
(t[21] = 1),
|
|
302
|
+
(t[22] = 0),
|
|
303
|
+
(t[23] = 1),
|
|
304
|
+
(t[24] = 1),
|
|
305
|
+
(t[25] = 0),
|
|
306
|
+
(t[26] = 0),
|
|
307
|
+
(t[27] = 0),
|
|
308
|
+
(t[28] = 0),
|
|
309
|
+
(t[29] = 1),
|
|
310
|
+
(t[30] = 1),
|
|
311
|
+
(t[31] = 1),
|
|
312
|
+
(t[32] = 1),
|
|
313
|
+
(t[33] = 0),
|
|
314
|
+
(t[34] = 0),
|
|
315
|
+
(t[35] = 0),
|
|
316
|
+
(t[36] = 0),
|
|
317
|
+
(t[37] = 1),
|
|
318
|
+
(t[38] = 1),
|
|
319
|
+
(t[39] = 1),
|
|
320
|
+
(t[40] = 0),
|
|
321
|
+
(t[41] = 0),
|
|
322
|
+
(t[42] = 1),
|
|
323
|
+
(t[43] = 0),
|
|
324
|
+
(t[44] = 1),
|
|
325
|
+
(t[45] = 1),
|
|
326
|
+
(t[46] = 0),
|
|
327
|
+
(t[47] = 1),
|
|
328
|
+
(s.st = new x({
|
|
329
|
+
componentDatatype: y.FLOAT,
|
|
330
|
+
componentsPerAttribute: 2,
|
|
331
|
+
values: t,
|
|
332
|
+
})));
|
|
333
|
+
}
|
|
334
|
+
if (a.tangent) {
|
|
335
|
+
let t = new Float32Array(72);
|
|
336
|
+
((t[0] = 1),
|
|
337
|
+
(t[1] = 0),
|
|
338
|
+
(t[2] = 0),
|
|
339
|
+
(t[3] = 1),
|
|
340
|
+
(t[4] = 0),
|
|
341
|
+
(t[5] = 0),
|
|
342
|
+
(t[6] = 1),
|
|
343
|
+
(t[7] = 0),
|
|
344
|
+
(t[8] = 0),
|
|
345
|
+
(t[9] = 1),
|
|
346
|
+
(t[10] = 0),
|
|
347
|
+
(t[11] = 0),
|
|
348
|
+
(t[12] = -1),
|
|
349
|
+
(t[13] = 0),
|
|
350
|
+
(t[14] = 0),
|
|
351
|
+
(t[15] = -1),
|
|
352
|
+
(t[16] = 0),
|
|
353
|
+
(t[17] = 0),
|
|
354
|
+
(t[18] = -1),
|
|
355
|
+
(t[19] = 0),
|
|
356
|
+
(t[20] = 0),
|
|
357
|
+
(t[21] = -1),
|
|
358
|
+
(t[22] = 0),
|
|
359
|
+
(t[23] = 0),
|
|
360
|
+
(t[24] = 0),
|
|
361
|
+
(t[25] = 1),
|
|
362
|
+
(t[26] = 0),
|
|
363
|
+
(t[27] = 0),
|
|
364
|
+
(t[28] = 1),
|
|
365
|
+
(t[29] = 0),
|
|
366
|
+
(t[30] = 0),
|
|
367
|
+
(t[31] = 1),
|
|
368
|
+
(t[32] = 0),
|
|
369
|
+
(t[33] = 0),
|
|
370
|
+
(t[34] = 1),
|
|
371
|
+
(t[35] = 0),
|
|
372
|
+
(t[36] = 0),
|
|
373
|
+
(t[37] = -1),
|
|
374
|
+
(t[38] = 0),
|
|
375
|
+
(t[39] = 0),
|
|
376
|
+
(t[40] = -1),
|
|
377
|
+
(t[41] = 0),
|
|
378
|
+
(t[42] = 0),
|
|
379
|
+
(t[43] = -1),
|
|
380
|
+
(t[44] = 0),
|
|
381
|
+
(t[45] = 0),
|
|
382
|
+
(t[46] = -1),
|
|
383
|
+
(t[47] = 0),
|
|
384
|
+
(t[48] = -1),
|
|
385
|
+
(t[49] = 0),
|
|
386
|
+
(t[50] = 0),
|
|
387
|
+
(t[51] = -1),
|
|
388
|
+
(t[52] = 0),
|
|
389
|
+
(t[53] = 0),
|
|
390
|
+
(t[54] = -1),
|
|
391
|
+
(t[55] = 0),
|
|
392
|
+
(t[56] = 0),
|
|
393
|
+
(t[57] = -1),
|
|
394
|
+
(t[58] = 0),
|
|
395
|
+
(t[59] = 0),
|
|
396
|
+
(t[60] = 1),
|
|
397
|
+
(t[61] = 0),
|
|
398
|
+
(t[62] = 0),
|
|
399
|
+
(t[63] = 1),
|
|
400
|
+
(t[64] = 0),
|
|
401
|
+
(t[65] = 0),
|
|
402
|
+
(t[66] = 1),
|
|
403
|
+
(t[67] = 0),
|
|
404
|
+
(t[68] = 0),
|
|
405
|
+
(t[69] = 1),
|
|
406
|
+
(t[70] = 0),
|
|
407
|
+
(t[71] = 0),
|
|
408
|
+
(s.tangent = new x({
|
|
409
|
+
componentDatatype: y.FLOAT,
|
|
410
|
+
componentsPerAttribute: 3,
|
|
411
|
+
values: t,
|
|
412
|
+
})));
|
|
413
|
+
}
|
|
414
|
+
if (a.bitangent) {
|
|
415
|
+
let t = new Float32Array(72);
|
|
416
|
+
((t[0] = 0),
|
|
417
|
+
(t[1] = 1),
|
|
418
|
+
(t[2] = 0),
|
|
419
|
+
(t[3] = 0),
|
|
420
|
+
(t[4] = 1),
|
|
421
|
+
(t[5] = 0),
|
|
422
|
+
(t[6] = 0),
|
|
423
|
+
(t[7] = 1),
|
|
424
|
+
(t[8] = 0),
|
|
425
|
+
(t[9] = 0),
|
|
426
|
+
(t[10] = 1),
|
|
427
|
+
(t[11] = 0),
|
|
428
|
+
(t[12] = 0),
|
|
429
|
+
(t[13] = 1),
|
|
430
|
+
(t[14] = 0),
|
|
431
|
+
(t[15] = 0),
|
|
432
|
+
(t[16] = 1),
|
|
433
|
+
(t[17] = 0),
|
|
434
|
+
(t[18] = 0),
|
|
435
|
+
(t[19] = 1),
|
|
436
|
+
(t[20] = 0),
|
|
437
|
+
(t[21] = 0),
|
|
438
|
+
(t[22] = 1),
|
|
439
|
+
(t[23] = 0),
|
|
440
|
+
(t[24] = 0),
|
|
441
|
+
(t[25] = 0),
|
|
442
|
+
(t[26] = 1),
|
|
443
|
+
(t[27] = 0),
|
|
444
|
+
(t[28] = 0),
|
|
445
|
+
(t[29] = 1),
|
|
446
|
+
(t[30] = 0),
|
|
447
|
+
(t[31] = 0),
|
|
448
|
+
(t[32] = 1),
|
|
449
|
+
(t[33] = 0),
|
|
450
|
+
(t[34] = 0),
|
|
451
|
+
(t[35] = 1),
|
|
452
|
+
(t[36] = 0),
|
|
453
|
+
(t[37] = 0),
|
|
454
|
+
(t[38] = 1),
|
|
455
|
+
(t[39] = 0),
|
|
456
|
+
(t[40] = 0),
|
|
457
|
+
(t[41] = 1),
|
|
458
|
+
(t[42] = 0),
|
|
459
|
+
(t[43] = 0),
|
|
460
|
+
(t[44] = 1),
|
|
461
|
+
(t[45] = 0),
|
|
462
|
+
(t[46] = 0),
|
|
463
|
+
(t[47] = 1),
|
|
464
|
+
(t[48] = 0),
|
|
465
|
+
(t[49] = 0),
|
|
466
|
+
(t[50] = 1),
|
|
467
|
+
(t[51] = 0),
|
|
468
|
+
(t[52] = 0),
|
|
469
|
+
(t[53] = 1),
|
|
470
|
+
(t[54] = 0),
|
|
471
|
+
(t[55] = 0),
|
|
472
|
+
(t[56] = 1),
|
|
473
|
+
(t[57] = 0),
|
|
474
|
+
(t[58] = 0),
|
|
475
|
+
(t[59] = 1),
|
|
476
|
+
(t[60] = 0),
|
|
477
|
+
(t[61] = 0),
|
|
478
|
+
(t[62] = 1),
|
|
479
|
+
(t[63] = 0),
|
|
480
|
+
(t[64] = 0),
|
|
481
|
+
(t[65] = 1),
|
|
482
|
+
(t[66] = 0),
|
|
483
|
+
(t[67] = 0),
|
|
484
|
+
(t[68] = 1),
|
|
485
|
+
(t[69] = 0),
|
|
486
|
+
(t[70] = 0),
|
|
487
|
+
(t[71] = 1),
|
|
488
|
+
(s.bitangent = new x({
|
|
489
|
+
componentDatatype: y.FLOAT,
|
|
490
|
+
componentsPerAttribute: 3,
|
|
491
|
+
values: t,
|
|
492
|
+
})));
|
|
493
|
+
}
|
|
494
|
+
((n = new Uint16Array(6 * 2 * 3)),
|
|
495
|
+
(n[0] = 0),
|
|
496
|
+
(n[1] = 1),
|
|
497
|
+
(n[2] = 2),
|
|
498
|
+
(n[3] = 0),
|
|
499
|
+
(n[4] = 2),
|
|
500
|
+
(n[5] = 3),
|
|
501
|
+
(n[6] = 6),
|
|
502
|
+
(n[7] = 5),
|
|
503
|
+
(n[8] = 4),
|
|
504
|
+
(n[9] = 7),
|
|
505
|
+
(n[10] = 6),
|
|
506
|
+
(n[11] = 4),
|
|
507
|
+
(n[12] = 8),
|
|
508
|
+
(n[13] = 9),
|
|
509
|
+
(n[14] = 10),
|
|
510
|
+
(n[15] = 8),
|
|
511
|
+
(n[16] = 10),
|
|
512
|
+
(n[17] = 11),
|
|
513
|
+
(n[18] = 14),
|
|
514
|
+
(n[19] = 13),
|
|
515
|
+
(n[20] = 12),
|
|
516
|
+
(n[21] = 15),
|
|
517
|
+
(n[22] = 14),
|
|
518
|
+
(n[23] = 12),
|
|
519
|
+
(n[24] = 18),
|
|
520
|
+
(n[25] = 17),
|
|
521
|
+
(n[26] = 16),
|
|
522
|
+
(n[27] = 19),
|
|
523
|
+
(n[28] = 18),
|
|
524
|
+
(n[29] = 16),
|
|
525
|
+
(n[30] = 20),
|
|
526
|
+
(n[31] = 21),
|
|
527
|
+
(n[32] = 22),
|
|
528
|
+
(n[33] = 20),
|
|
529
|
+
(n[34] = 22),
|
|
530
|
+
(n[35] = 23));
|
|
531
|
+
} else
|
|
532
|
+
((e = new Float64Array(8 * 3)),
|
|
533
|
+
(e[0] = o.x),
|
|
534
|
+
(e[1] = o.y),
|
|
535
|
+
(e[2] = o.z),
|
|
536
|
+
(e[3] = m.x),
|
|
537
|
+
(e[4] = o.y),
|
|
538
|
+
(e[5] = o.z),
|
|
539
|
+
(e[6] = m.x),
|
|
540
|
+
(e[7] = m.y),
|
|
541
|
+
(e[8] = o.z),
|
|
542
|
+
(e[9] = o.x),
|
|
543
|
+
(e[10] = m.y),
|
|
544
|
+
(e[11] = o.z),
|
|
545
|
+
(e[12] = o.x),
|
|
546
|
+
(e[13] = o.y),
|
|
547
|
+
(e[14] = m.z),
|
|
548
|
+
(e[15] = m.x),
|
|
549
|
+
(e[16] = o.y),
|
|
550
|
+
(e[17] = m.z),
|
|
551
|
+
(e[18] = m.x),
|
|
552
|
+
(e[19] = m.y),
|
|
553
|
+
(e[20] = m.z),
|
|
554
|
+
(e[21] = o.x),
|
|
555
|
+
(e[22] = m.y),
|
|
556
|
+
(e[23] = m.z),
|
|
557
|
+
(s.position = new x({
|
|
558
|
+
componentDatatype: y.DOUBLE,
|
|
559
|
+
componentsPerAttribute: 3,
|
|
560
|
+
values: e,
|
|
561
|
+
})),
|
|
562
|
+
(n = new Uint16Array(6 * 2 * 3)),
|
|
563
|
+
(n[0] = 4),
|
|
564
|
+
(n[1] = 5),
|
|
565
|
+
(n[2] = 6),
|
|
566
|
+
(n[3] = 4),
|
|
567
|
+
(n[4] = 6),
|
|
568
|
+
(n[5] = 7),
|
|
569
|
+
(n[6] = 1),
|
|
570
|
+
(n[7] = 0),
|
|
571
|
+
(n[8] = 3),
|
|
572
|
+
(n[9] = 1),
|
|
573
|
+
(n[10] = 3),
|
|
574
|
+
(n[11] = 2),
|
|
575
|
+
(n[12] = 1),
|
|
576
|
+
(n[13] = 6),
|
|
577
|
+
(n[14] = 5),
|
|
578
|
+
(n[15] = 1),
|
|
579
|
+
(n[16] = 2),
|
|
580
|
+
(n[17] = 6),
|
|
581
|
+
(n[18] = 2),
|
|
582
|
+
(n[19] = 3),
|
|
583
|
+
(n[20] = 7),
|
|
584
|
+
(n[21] = 2),
|
|
585
|
+
(n[22] = 7),
|
|
586
|
+
(n[23] = 6),
|
|
587
|
+
(n[24] = 3),
|
|
588
|
+
(n[25] = 0),
|
|
589
|
+
(n[26] = 4),
|
|
590
|
+
(n[27] = 3),
|
|
591
|
+
(n[28] = 4),
|
|
592
|
+
(n[29] = 7),
|
|
593
|
+
(n[30] = 0),
|
|
594
|
+
(n[31] = 1),
|
|
595
|
+
(n[32] = 5),
|
|
596
|
+
(n[33] = 0),
|
|
597
|
+
(n[34] = 5),
|
|
598
|
+
(n[35] = 4));
|
|
599
|
+
let v = i.subtract(m, o, D),
|
|
600
|
+
L = i.magnitude(v) * 0.5;
|
|
601
|
+
if (A(r._offsetAttribute)) {
|
|
602
|
+
let t = e.length,
|
|
603
|
+
T = r._offsetAttribute === b.NONE ? 0 : 1,
|
|
604
|
+
E = new Uint8Array(t / 3).fill(T);
|
|
605
|
+
s.applyOffset = new x({
|
|
606
|
+
componentDatatype: y.UNSIGNED_BYTE,
|
|
607
|
+
componentsPerAttribute: 1,
|
|
608
|
+
values: E,
|
|
609
|
+
});
|
|
610
|
+
}
|
|
611
|
+
return new h({
|
|
612
|
+
attributes: s,
|
|
613
|
+
indices: n,
|
|
614
|
+
primitiveType: w.TRIANGLES,
|
|
615
|
+
boundingSphere: new d(i.ZERO, L),
|
|
616
|
+
offsetAttribute: r._offsetAttribute,
|
|
617
|
+
});
|
|
618
|
+
};
|
|
619
|
+
var l;
|
|
620
|
+
f.getUnitBox = function () {
|
|
621
|
+
return (
|
|
622
|
+
A(l) ||
|
|
623
|
+
(l = f.createGeometry(
|
|
624
|
+
f.fromDimensions({
|
|
625
|
+
dimensions: new i(1, 1, 1),
|
|
626
|
+
vertexFormat: u.POSITION_ONLY,
|
|
627
|
+
}),
|
|
628
|
+
)),
|
|
629
|
+
l
|
|
630
|
+
);
|
|
631
|
+
};
|
|
632
|
+
var R = f;
|
|
633
|
+
export { R as a };
|