UNPKG

spatial-controls

Version:

Configurable 3D movement controls.

21 lines (20 loc) 481 B
import { RotationControls } from "../core/RotationControls.js"; import { Strategy } from "./Strategy.js"; /** * A rotation strategy. * * @group Strategies */ export declare class RotationStrategy implements Strategy { /** * The controls. */ private controls; /** * Constructs a new rotation strategy. * * @param controls - The controls. */ constructor(controls: RotationControls); execute(flag: boolean, event: Event): void; }