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.

10 lines (9 loc) 243 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.zero3D = void 0; /** * Creates a zero 3D vector. * @returns {ArrayVector3D} Vector `[0, 0, 0]` */ const zero3D = () => [0, 0, 0]; exports.zero3D = zero3D;