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) 259 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.one2D = void 0; /** * Creates a 2D vector with all components set to 1.0. * @returns {ArrayVector2D} Vector `[1, 1]` */ const one2D = () => [1, 1]; exports.one2D = one2D;