Releases: EricRovell/vector
Releases · EricRovell/vector
v1.0.0: Stable release
1.0.0 (2021-03-21)
- [breaking]: rename
.random()method into.random2d();
0.17.0
- [breaking]: rename input types;
- [breaking]: rename
.set(),.round(),.ceil(),.floor()methods by addingselfpostfix to mark methods as mutable; - [feat]: implement
[Symbol.toPrimitive];
0.16.0
- [fix]: handle non-positive values for
.limit()and.limitSelf()methods; - [feat]: implemented
crossSelf()method, the mutable version ofcross();
0.15.0: Mapping
- [feat]:
.map()method; - [feat]:
.mapSelf()method; - [refactor]: use
.mapSelfand.mapinternally to simplify other methods internals; - [breaking]: replace
.unitgetter with.normalize()method;
0.14.0: Math utils & missing mutable methods
- [feat]:
.setMagnitudeSelf()method; - [feat]:
.limitSelf()method; - [feat]:
roundmethod; - [feat]:
floormethod; - [feat]:
ceilmethod; - [feat]:
clampmethod;
0.13.0: Inverse Scaling
- [feat]:
scale()andscaleSelf()second argument for reciprocal scaling;
0.12.1: Post install fix
- [fix]: rename
postinstallscript, as it used dev dependency and breaked theCI/CDpipeline;
0.12.0: Cylindrical coordinate system
- [feat]: Cylindrical coordinate system input support;
0.11.1: ESM fix
- [fix]: Update ESM module extension for new Node version;
0.11.0: Mutability & simple input
- [feat]:
addSelf()method; - [feat]:
scaleSelf()method; - [feat]:
subSelf()method; - [feat]:
rotateSelf()method; - [feat]:
rotateSelf3d()method; - [feat]:
setPhiSelf()method; - [feat]:
setThetaSelf()method; - [feat]:
setComponentSelf()method; - [feat]:
set()method; - [feat]:
normalizeSelf()method; - [feat]: update input options for
add(),cross(),distance(),distanceSq(),dot(),equality(),reflect(),sub()methods; - [breaking]: update
lerp()defaultcoefvalue to 1;