videx-3d
Version:
React 3D component library designed for sub surface visualizations in the browser
13 lines (12 loc) • 545 B
TypeScript
import { Clock, PerspectiveCamera } from 'three';
import { Vec2 } from '../../sdk';
import { AnnotationInstance } from './types';
/**
* PRE-PROCESS INSTANCES
*/
export declare function preprocessInstances(instances: AnnotationInstance[], camera: PerspectiveCamera, clock: Clock, maxVisible: number): AnnotationInstance[];
/**
* POST PROCESS INSTANCES
*/
export declare function postProcessInstances(instances: AnnotationInstance[], size: Vec2): void;
export declare function updateInstanceDOMElements(instances: AnnotationInstance[]): void;