Files
nodarium/app/src/lib/graph-interface/debug/store.ts
2026-01-20 17:46:09 +01:00

9 lines
339 B
TypeScript

import type { Box } from '@nodarium/types';
import { writable } from 'svelte/store';
import type { Color } from 'three';
import { Vector3 } from 'three/src/math/Vector3.js';
export const points = writable<Vector3[]>([]);
export const rects = writable<Box[]>([]);
export const lines = writable<{ points: Vector3[]; color?: Color }[]>([]);