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