split cam tools out of init

This commit is contained in:
Stewart Allen 2024-09-14 22:35:29 -04:00
commit 606dea94e5
7 changed files with 335 additions and 310 deletions

View file

@ -5,11 +5,11 @@
// dep: kiri-mode.cam.driver
// use: kiri-mode.cam.animate
// use: kiri-mode.cam.animate2
// use: kiri-mode.cam.tools
// use: load.gbr
gapp.register("kiri-mode.cam.client", [], (root, exports) => {
const { base, kiri } = root;
const { newPoint, newPolygon } = base;
const { driver } = kiri;
const { CAM } = driver;
const DEG2RAD = Math.PI / 180;