@thi.ng/matrices
Version:
Matrix & quaternion operations for 2D/3D geometry processing
19 lines • 629 B
TypeScript
import type { ReadonlyVec } from "@thi.ng/vectors";
import type { Mat } from "./api.js";
/**
* Computes a 2x3 matrix representing a scale operation with origin `p`
* and writes result to `out`.
*
* @param out -
* @param m -
*/
export declare const scaleWithCenter23: (m: Mat | null, p: ReadonlyVec, s: number | ReadonlyVec) => Mat;
/**
* Computes a 4x4 matrix representing a scale operation with origin `p`
* and writes result to `out`.
*
* @param out -
* @param m -
*/
export declare const scaleWithCenter44: (m: Mat | null, p: ReadonlyVec, s: number | ReadonlyVec) => Mat;
//# sourceMappingURL=scale-center.d.ts.map