v1.2.0
Added
-
Implemented vector rotation #34
Vector.rotate(theta, vector)
Vector.prototype.rotate(theta)
Vector.irotate(theta, vector)
Vector.prototype.irotate(theta)
-
Implemented alias
Vector#clone()
forVector#copy()
#35 -
Implemented filter for benchmark #29
npm run behch -- --filter add
list of available filters: create
, add
, sub
, mul
, div
, lerp
, norm
, mag
, dot
, dist
, angle
, rotate
, reset
, copy
, convert
, equal
, swizzling
, iterator
Fixed
- Fixed vectors' equality: implemented usage of
Number.EPSILON
#36
Removed
- Dropped support of Node < 4