UNPKG

@inweb/viewer-three

Version:

JavaScript library for rendering CAD and BIM files in a browser using Three.js

16 lines (15 loc) 395 B
import { Vector3 } from "three"; import type { Viewer } from "../Viewer"; export declare const defaultViewPositions: { front: Vector3; back: Vector3; left: Vector3; right: Vector3; bottom: Vector3; top: Vector3; se: Vector3; sw: Vector3; ne: Vector3; nw: Vector3; }; export declare function setDefaultViewPosition(viewer: Viewer, position: string): void;