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) 237 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.zero2D = void 0; /** * Creates a zero 2D vector. * @returns {ArrayVector2D} Vector `[0, 0]` */ const zero2D = () => [0, 0]; exports.zero2D = zero2D;