@chemistry/mol3dview
Version:
Crystal Structure Viewer
20 lines (16 loc) • 337 B
text/typescript
import { Vec3 } from "@chemistry/math";
export interface ICamera {
onInit(): void;
onDestroy(): void;
project(position: Vec3): Vec3;
unproject(position: Vec3): Vec3;
extractScale(): number;
/*
setCameraView
setCameraCenter
setCameraScale
extractScale
getDefaultAction
setDefaultAction
*/
}