UNPKG

@thi.ng/matrices

Version:

Matrix & quaternion operations for 2D/3D geometry processing

14 lines 521 B
import type { ReadonlyVec, Vec } from "@thi.ng/vectors"; /** * Interpolates quaternion `a` to `b` by given amount `t` `[0,1]`, using SLERP. * Writes result to `out`. The optional `eps` (default 1e-3) is used to switch * to linear interpolation if the angular difference is very small. * * @param out - * @param a - * @param b - * @param t - * @param eps - */ export declare const mixQ: (out: Vec | null, a: ReadonlyVec, b: ReadonlyVec, t: number, eps?: number) => Vec<number>; //# sourceMappingURL=mixq.d.ts.map