import { SolubleObjectData } from "./primes.mjs"; import { Atom } from "./atom.mjs"; export var atomDevice: Atom = new Atom(null); export var atomContext: Atom = new Atom(null); /** TODO depth texture is shared by now, not sure which is better */ export var atomDepthTexture: Atom = new Atom(null); export var atomBufferNeedClear: Atom = new Atom(true); export var atomLagopusTree: Atom = new Atom(null); export function wLog(message: string, a: T): T { console.warn(message, a); return a; } // prepare shared array called `base_points` export let atomPointsBuffer: Atom = new Atom(null);