- [breaking]: rename
.random()method into.random2d();
- [breaking]: rename input types;
- [breaking]: rename
.set(),.round(),.ceil(),.floor()methods by addingselfpostfix to mark methods as mutable; - [feat]: implement
[Symbol.toPrimitive];
- [fix]: handle non-positive values for
.limit()and.limitSelf()methods; - [feat]: implemented
crossSelf()method, the mutable version ofcross();
- [feat]:
.map()method; - [feat]:
.mapSelf()method; - [refactor]: use
.mapSelfand.mapinternally to simplify other methods internals; - [breaking]: replace
.unitgetter with.normalize()method;
- [feat]:
.setMagnitudeSelf()method; - [feat]:
.limitSelf()method; - [feat]:
roundmethod; - [feat]:
floormethod; - [feat]:
ceilmethod; - [feat]:
clampmethod;
- [feat]:
scale()andscaleSelf()second argument for reciprocal scaling;
- [fix]: rename
postinstallscript, as it used dev dependency and breaked theCI/CDpipeline;
- [feat]: Cylindrical coordinate system input support;
- [fix]: Update ESM module extension for new Node version;
- [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;
- [feat]:
vectorinstance can be iterated over it's components; - [feat]: providing vector components as arguments to constructor;
- [brekaing]: disallow sparse array input;
- [feat]:
setComponent()method;
- [feat]:
random()method; - [feat]:
random3d()method;
- [feat]:
toArray()method; - [feat]:
valueOf()method;
- [feat]:
.distance()and.distanceSq()methods; - [feat]:
angle()method; - [feat]:
lerp()method; - [feat]:
copy()method; - [feat]:
reflect()method;
- [feat]:
.equals()method; - [feat]:
.cross()method; - [feat]:
.dot()method;
- [feat]: Azimuthal (
phi) and Elevation (theta) angles getters; - [feat]: Azimuthal (
phi) and Elevation (theta) angles setters; - [feat]:
.rotate(phi)and.rotate3d(phi, theta)methods;
- [feat]:
magnitudeandmagnitudeSqproperties; - [feat]:
unitproperty; - [feat]:
.setMagnitude()method; - [feat]:
.limit()method;
- [feat]: parse input using polar coordinates input;
- [feat]:
.add()method for vector addition; - [feat]:
.scale()method for scalar vector multiplication; - [feat]:
invertedproperty for inverting the vector; - [feat]:
.sub()method for vector subtraction;
- [chore]: First release, just parsing user input functionality;