Skip to content

Latest commit

 

History

History
107 lines (71 loc) · 2.39 KB

CHANGELOG.md

File metadata and controls

107 lines (71 loc) · 2.39 KB

5.1.0

  • update random number generator seed wrapping
  • fix random number generator range

5.0.0

  • add 🚀 random number generator
  • add 🏠 update tooling
  • update 🏠 refine output paths

4.2.0

  • fix esm publish types

4.1.3

  • fix build and publish types

4.1.1

  • fix Vector2::cross product calculation.

4.1.0

  • add Rect getters for edge coordinates
  • add Point::scale

4.0.0

  • break remove Point::toCartesian. x and y already exist on a Point.

  • break remove Vector2::toCartesian. x and y already exist on a Vector2.

  • break remove Vector2::position. Just use .pos.

  • break Vector2::unit returns itself and is mutative. Previously it was non-mutative and returned a new instance.

  • break ray casting and projecting always returns Vector2. Previously it returned the Position value of a Vector2.

  • add Vector2.length getter (same as len(), returns vector magnitude)

  • update modern build chain using swc

3.0.1

  • update change file extension for better interop with bundlers

3.0.0

  • break Ray::project returns position only

  • break lerp operands have changed to enable currying of the function

  • break clamp operands have changed to enable currying of the function

  • break wrap operands have changed to enable currying of the function

  • add additional examples

  • add Vector2::of constructor method

  • update documentation

  • update min and max now accepts Sets

2.5.0

  • update examples
  • add Ray::of
  • add compat build outputs
  • add dead code removal hints for shakey shakey

2.4.0

  • update es6 and cjs builds
  • add umd distributable
  • update reduce point and rect weight
  • add rect::contains

2.3.0

  • add lots more juicy Point helpers
  • add lots more juicy Rect helpers

2.2.0

  • add vector positional component getters
  • add vector static rotate method
  • update examples

## 2.1.0

  • update vector length method
  • update use rollup and buble

2.0.0

  • update use arrays for structures rather than objects

  • update vectors

  • add additional vector functionality

  • add additional rect functionality

  • add tests

  • update dependencies

0.2.0

  • update extra helper methods
  • update examples

0.1.0

  • add vectors
  • add primitives (point, rect)
  • add helpers (clamp, wrap, min, max)
  • add transforms (radians/degrees)
  • add distance helpers (manhattan, euclidean)