UNPKG

@shiplab/vessel3d

Version:

Library for conceptual ship visualization using as support Three.js library

20 lines (15 loc) 508 B
import {REVISION} from "./constants.js"; import {bisectionSearch} from "./jsm/math/interpolation.js"; export const math = { bisectionSearch, }; export {Scene} from "./jsm/engine/Scene.js"; export {Ship} from "./jsm/ship/Ship.js"; export {HullHydrostatics} from "./jsm/physics/Hydrostatic.js"; if (typeof window !== "undefined") { if (window.__VESSEL__) { console.warn("WARNING: Multiple instances of Vessel.js being imported."); } else { window.__VESSEL__ = REVISION; } }