From 330571359aa5a402c19810ecc01a4785bb3fec64 Mon Sep 17 00:00:00 2001 From: ethan Date: Mon, 21 Aug 2023 10:35:03 +0800 Subject: [PATCH] add SwallowtailSquadCombat --- examples/index.ts | 5 +++ index.html | 3 +- src/arrow/swallowtail-squad-combat.ts | 62 +++++++++++++++++++++++++++ src/index.ts | 2 + 4 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 src/arrow/swallowtail-squad-combat.ts diff --git a/examples/index.ts b/examples/index.ts index 3eaec45..3f53482 100644 --- a/examples/index.ts +++ b/examples/index.ts @@ -53,3 +53,8 @@ const squadCombat = document.getElementById('drawSquadCombat') as HTMLElement; squadCombat.onclick = () => { new CesiumPlot.SquadCombat(Cesium, viewer, {}); }; + +const swallowtailSquadCombat = document.getElementById('drawSwallowtailSquadCombat') as HTMLElement; +swallowtailSquadCombat.onclick = () => { + new CesiumPlot.SwallowtailSquadCombat(Cesium, viewer, {}); +}; diff --git a/index.html b/index.html index 344aa9d..9e48d9b 100644 --- a/index.html +++ b/index.html @@ -41,8 +41,9 @@
- + +