import type { Vec3 } from '../math/vec3.js'; import { type AngleVectorsResult } from '../math/angles.js'; import { type PmFlags } from './constants.js'; export interface ClampViewAnglesParams { readonly pmFlags: PmFlags; readonly cmdAngles: Vec3; readonly deltaAngles: Vec3; } export interface ClampViewAnglesResult extends AngleVectorsResult { readonly viewangles: Vec3; } /** * Pure translation of `PM_ClampAngles` from `rerelease/p_move.cpp`. The helper * fuses the latest command angles with the stored delta, applies the teleport * pitch/roll reset, enforces the ±90° pitch window, and returns the resulting * axis vectors that the C version stored in `pml.forward/right/up`. */ export declare function clampViewAngles(params: ClampViewAnglesParams): ClampViewAnglesResult; //# sourceMappingURL=view.d.ts.map