Skip to content

v1.2.0

Compare
Choose a tag to compare
@broadsw0rd broadsw0rd released this 29 Aug 12:40
· 15 commits to master since this release

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() for Vector#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