Skip to content

Releases: EricRovell/vector

v1.0.0: Stable release

21 Mar 15:36
Compare
Choose a tag to compare

1.0.0 (2021-03-21)

  • [breaking]: rename .random() method into .random2d();

0.17.0

22 May 13:26
Compare
Choose a tag to compare
  • [breaking]: rename input types;
  • [breaking]: rename .set(), .round(), .ceil(), .floor() methods by adding self postfix to mark methods as mutable;
  • [feat]: implement [Symbol.toPrimitive];

0.16.0

20 May 20:46
Compare
Choose a tag to compare
  • [fix]: handle non-positive values for .limit() and .limitSelf() methods;
  • [feat]: implemented crossSelf() method, the mutable version of cross();

0.15.0: Mapping

12 Dec 21:02
Compare
Choose a tag to compare
  • [feat]: .map() method;
  • [feat]: .mapSelf() method;
  • [refactor]: use .mapSelf and .map internally to simplify other methods internals;
  • [breaking]: replace .unit getter with .normalize() method;

0.14.0: Math utils & missing mutable methods

12 Dec 13:02
Compare
Choose a tag to compare
  • [feat]: .setMagnitudeSelf() method;
  • [feat]: .limitSelf() method;
  • [feat]: round method;
  • [feat]: floor method;
  • [feat]: ceil method;
  • [feat]: clamp method;

0.13.0: Inverse Scaling

10 Dec 16:47
Compare
Choose a tag to compare
  • [feat]: scale() and scaleSelf() second argument for reciprocal scaling;

0.12.1: Post install fix

04 Dec 13:23
Compare
Choose a tag to compare
  • [fix]: rename postinstall script, as it used dev dependency and breaked the CI/CD pipeline;

0.12.0: Cylindrical coordinate system

03 Dec 10:48
Compare
Choose a tag to compare

0.11.1: ESM fix

30 Nov 21:45
Compare
Choose a tag to compare
  • [fix]: Update ESM module extension for new Node version;

0.11.0: Mutability & simple input

29 Nov 14:37
Compare
Choose a tag to compare
  • [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() default coef value to 1;