@thi.ng/matrices
Version:
Matrix & quaternion operations for 2D/3D geometry processing
13 lines • 376 B
TypeScript
import type { Mat } from "./api.js";
/**
* Produces a 2x3 viewport matrix to transform projected coordinates to
* screen space.
*
* @param out -
* @param left -
* @param right -
* @param bottom -
* @param top -
*/
export declare const viewport: (out: Mat | null, left: number, right: number, bottom: number, top: number) => Mat;
//# sourceMappingURL=viewport.d.ts.map