UNPKG

@fimbul-works/vec

Version:

A comprehensive TypeScript vector math library providing 2D, 3D, and 4D vector operations with a focus on performance and type safety.

8 lines (7 loc) 280 B
import type { ArrayVector4D } from "./types.js"; /** * Checks if a 4D vector is zero. * @param {ArrayVector4D} xyzw - Vector as `[x, y, z, w]` * @returns {boolean} `true` if vector is zero, `false` otherwise */ export declare const isZero4D: (xyzw: ArrayVector4D) => boolean;