molstar
Version:
A comprehensive macromolecular library.
16 lines (15 loc) • 629 B
TypeScript
/**
* Copyright (c) 2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
*
* @author Alexander Rose <alexander.rose@weirdbyte.de>
*/
import { Vec2, Vec3 } from '../../mol-math/linear-algebra';
import { Camera } from '../camera';
export declare namespace ObjectControls {
/**
* Get vector for movement in camera projection plane:
* `pageStart` and `pageEnd` are 2d window coordinates;
* `ref` defines the plane depth, if not given `camera.target` is used
*/
function panDirection(out: Vec3, pageStart: Vec2, pageEnd: Vec2, camera: Camera, ref?: Vec3): Vec3;
}