All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
5.1.5 (2021-03-17)
Note: Version bump only for package @thi.ng/vectors
5.1.4 (2021-03-12)
Note: Version bump only for package @thi.ng/vectors
5.1.0 (2021-03-03)
- vectors: update GVec internals (TS4.2) (e6b7b74)
- vectors: add softMax() & oneHot() (4f242c8)
5.0.0 (2021-02-20)
- vectors: update mem mapped type handling (4a6e9b1)
- vectors: add weightedDistance HOF (8500a79)
- vectors: buffer mapping fns use new type string consts
- part of umbrella-wide changes to thi.ng/api Type aliases (see a333d4182)
4.9.0 (2021-01-21)
- vectors: add explicit return types (zeroes/ones()) (fc2f662)
- vectors: add dist2/3 (eb334fa)
4.8.0 (2020-11-24)
4.7.0 (2020-10-03)
- vectors, geom: point on ray at distance (0b04b80)
4.6.0 (2020-08-10)
4.5.0 (2020-06-20)
- vectors: add cornerBisector2() (aff9bfa)
4.4.0 (2020-05-14)
- vectors: add mapVectors() (61ddde7)
4.3.1 (2020-04-23)
- vectors: add missing equals2/3/4 exports (041f590)
4.3.0 (2020-04-23)
- vectors: add equals/2/3/4() (34cad0e)
4.2.0 (2020-03-01)
- vectors: add safeDiv() (8e9a688)
4.1.0 (2020-02-25)
- vectors: add missing types & annotations (TS3.8) (8680e37)
4.0.0 (2019-11-09)
- vectors: fix normalizeS2/3/4 (f048393)
- vectors: fix out args in mixCubic/mixQuadratic (d02dae6)
- vectors: update random2/3/4 to return new vec if none given (a0be4d4)
- vectors: rename strided-scalar op suffixes (SN => NS) (66258d8)
- vectors: add fill(), add MultiVecOp.impl(), update vop() (21ff930)
- vectors: add mixCubicHermite versions & tangent fns (b382d25)
- vectors: add more strided vec ops, refactor templates (ca91fa9)
- vectors: add new intoBuffer(), move fns for wrapped versions (53581f1)
- vectors: add strided random ops, types, defHofOpS() codegen (1e46f5a)
- vectors: add strided rotate ops (4f2b5a7)
- vectors: update readme (f16bb45)
- vectors: minor optimization for 0-index Vec2/3/4 accessors (a7c561d)
- vectors: setSN2/3/4 => setSN2/3/4
3.3.0 (2019-08-21)
- vectors: add isNaN(), isInf() vec ops, update readme (ed60d09)
3.2.0 (2019-08-17)
- vectors: add atan_2/22/23/24, update readme (e9b156b)
3.1.0 (2019-07-31)
- vectors: add new bvec ops & types, update readme (931ee43)
3.0.1 (2019-07-08)
- vectors: reflect output handling (8ec12a4)
3.0.0 (2019-07-07)
- vectors: update arg types (6d213bd)
- vectors: add atan, exp_2, log_2, setVN, setVV, minor type fixes (8683c19)
- vectors: add bitwise int vec ops (signed/unsigned versions) (a364f1f)
- vectors: add bvec types, componentwise logic & comparison ops (7b9f03d)
- vectors: add degrees(), radians(), add fitXX type hints (b313a56)
- vectors: add fmod/fmodN fns (GLSL style mod op) (928b95b)
- vectors: add integer math ops (signed/unsigned) (c8a997f)
- vectors: add swizzle setters (114003c)
- vectors: add vecOf() ctor fn (25feeee)
- vectors: enable TS strict compiler flags (refactor) (94715ff)
- vectors: update madd/maddN arg order, rename functions
- madd & maddN args now OpenCL/CUDA compatible, i.e.
- madd(a,b,c) => a * b + c
- maddN(a,n,b) => a * n + b
- rename perpendicularLeft/Right => perpendicularCCW/CW
- rename normalLeft/Right => normalCCW/CW
- fix output vec handling in addW fns
2.5.0 (2019-03-28)
- vectors: add hash() op and IHash impls for Vec2/3/4 (577d8cf)
- vectors: add Vec2/3/4Like type aliases, update ReadonlyVec (3d5cd61)
2.4.0 (2019-03-03)
- vectors: add headingSegment*() fns, update readme (6ab6858)
2.3.0 (2019-02-15)
- vectors: add fit, fit01, fit11 fns (161d19d)
2.2.0 (2019-02-05)
- vectors: add corner2, clockwise2, signedAreaC2, isInArray fns (2440ffd)
- vectors: add VecPair type alias, add copyVectors() (58e0a05)
2.1.0 (2019-01-21)
- vectors: migrate direction(), normalLeft/Right2() from geom pkg (07d5f8f)
2.0.0 (2019-01-21)
- vectors: fix NaNs in Mat23.scaleWithCenter (92bce73)
- update package build scripts & outputs, imports in ~50 packages (b54b703)
- enabled multi-outputs (ES6 modules, CJS, UMD)
- build scripts now first build ES6 modules in package root, then call
scripts/bundle-module
to build minified CJS & UMD bundles in/lib
- all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.
1.4.0 (2018-10-17)
- vectors: add axis consts, add/update ops (473ec80)
- vectors: add collate & eqDelta fns, update ctors (221fb7f)
- vectors: add comparators & ICompare impls for vec2/3/4 (6a0f8aa)
- vectors: add IMinMax interface (34312d8)
- vectors: add operation specific interfaces, rename Vec3.toPolar() (5c44ad9)
- vectors: replace math.ts w/ imports from @thi.ng/maths package (0967929)
1.3.0 (2018-09-28)
1.1.0 (2018-09-10)
- vectors: add matrix index & property accessors (3dd0072)
1.0.0 (2018-09-05)
- vectors: add immutable vec2/3/4 ops (a3c0407)
- vectors: add/update transformVectors*(), update types (2eec700)
- vectors: update transformVectors1/2() arg order
0.6.0 (2018-09-03)
- vectors: add missing arg types (c0fbb4e)
- vectors: add opt normalize for angleBetween2/3 (25ea00c)
- vectors: update GVec method args (readonly) (ad13151)
- vectors: add mixBilinear1/2/3/4 (f0ccd0c)
- vectors: add new vector ops, update readme (9510f01)
- vectors: add Vec*.intoBuffer() impls (16aa0c4)
0.5.2 (2018-09-01)
- vectors: add missing deps (d2b4faf)
0.5.0 (2018-08-30)
- vectors: consolidate vector consts, add toJSON() impls (bdb5d37)
- vectors: update types, update GVec, add maths fns, swap impls (d5cec94)
0.4.0 (2018-08-28)
- vectors: add more vec2/3 ops (cd834f8)
0.3.0 (2018-08-27)
- vectors: add mix1(), minor cleanups (cfb2b74)
0.2.0 (2018-08-02)
- vectors: add gvec size checks, add IEquiv & Iterable impls (2a13f28)
- vectors: add toCylindrical3() / fromCylindrical3() (74f939c)
- vectors: make Vec2/3/4 array-like, add IEquiv impls, add tests (3039a35)
0.1.2 (2018-07-30)
- vectors: get*() return types, refactor using set*() (3534274)
0.1.1 (2018-07-29)
- vectors: naming convention, add function overview tables (3de5cea)
- vectors: copy/paste mistakes, add tests (2a5a744)
- vectors: add generic vec fns & class wrapper (e3c6167)
- vectors: add minor/majorAxis(), minor/major2/3 (35af6a5)
- vectors: add swizzle fns, update/unify fn naming (5bba592)
- vectors: add vec4 ops & class wrapper (b59fadf)
- vectors: re-add matrix class wrappers, update vec classes (1ec75e6)
- vectors: re-import updated mat23/33/44 functions (4fdda6a)
- vectors: re-import updated mat44, add orthoNormal3 (21b04f0)
- vectors: re-import vector types from old thi.ng/geom TS version (d154153)
- vectors: update get & copy fns to retain buffer types (54b3db2)