add missing laser mode subclasses

This commit is contained in:
Stewart Allen 2025-07-06 21:19:35 -04:00
commit 18440bce2e
11 changed files with 170 additions and 154 deletions

View file

@ -0,0 +1,5 @@
/** Copyright Stewart Allen <sa@grid.space> -- All Rights Reserved */
export function init() {
// TODO
}

View file

@ -1,11 +1,13 @@
/** Copyright Stewart Allen <sa@grid.space> -- All Rights Reserved */
import { driver } from '../kiri-mode/laser/driver.js';
import { LASER, TYPE } from '../laser/driver.js';
const DRIVERS = root.kiri.driver;
const { LASER } = DRIVERS;
const { TYPE } = LASER;
DRIVERS.DRAG = Object.assign({}, LASER, { name: "DragKnife", type: TYPE.DRAG });
function init(worker) {
// console.log({ DRAGKNIFE_INIT: worker });
}
export { DRIVERS };
export const DRAG = Object.assign({}, LASER, {
type: TYPE.DRAG,
name: 'DragKnife',
init
});