- [breaking]: rename
.random()
method into.random2d()
;
- [breaking]: rename input types;
- [breaking]: rename
.set()
,.round()
,.ceil()
,.floor()
methods by addingself
postfix 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
.mapSelf
and.map
internally to simplify other methods internals; - [breaking]: replace
.unit
getter with.normalize()
method;
- [feat]:
.setMagnitudeSelf()
method; - [feat]:
.limitSelf()
method; - [feat]:
round
method; - [feat]:
floor
method; - [feat]:
ceil
method; - [feat]:
clamp
method;
- [feat]:
scale()
andscaleSelf()
second argument for reciprocal scaling;
- [fix]: rename
postinstall
script, as it used dev dependency and breaked theCI/CD
pipeline;
- [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()
defaultcoef
value to 1;
- [feat]:
vector
instance 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]:
magnitude
andmagnitudeSq
properties; - [feat]:
unit
property; - [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]:
inverted
property for inverting the vector; - [feat]:
.sub()
method for vector subtraction;
- [chore]: First release, just parsing user input functionality;