Skip to content

Releases: breadcat-dev/trajectory

Trajectory v0.4.0

Choose a tag to compare

@breadcat-dev breadcat-dev released this 10 Jul 10:11

Added

  • approximatelyEqual() to every vector class
  • approximatelyEqual() to every matrix class

Changed

  • Improved the toString() output for every vector class
  • Improved the toString() output for every matrix class
  • Renamed the multiply(...) parameter from other to scalar in every vector and matrix class
  • Renamed the divide(...) parameter from other to scalar in every vector and matrix class

Fixed

  • Matrix4f using double values instead of float

Trajectory v0.3.0

Choose a tag to compare

@breadcat-dev breadcat-dev released this 09 Jul 17:54

Changed

  • Removed isZero() from all vector types
  • Reused MathUtils.lerp() for vector interpolation
  • Reused MathUtils.approximatelyZero() for floating-point normalization checks
  • Replaced vector ArithmeticExceptions with Toolbox's DivisionByZeroException
  • General cleanup and internal refactoring of all Vector2, Vector3 Vector4, Matrix2, Matrix3 and Matrix4 implementations

Removed

  • Local DivisionByZeroException (now uses the Toolbox implementation)

Trajectory v0.2.0

Choose a tag to compare

@breadcat-dev breadcat-dev released this 09 Jul 10:26

Added

  • Matrix2, Matrix3 and Matrix4
  • float and double variants
  • Matrix addition, subtraction, multiplication and division
  • Matrix × vector multiplication
  • Determinant calculation
  • Matrix inversion
  • Transpose operation
  • Identity and zero matrices
  • DivisionByZeroException

Fixed

  • Vector3i having float variables instead of long

Trajectory v0.1.0

Choose a tag to compare

@breadcat-dev breadcat-dev released this 08 Jul 07:37

Added

  • Vector2 (float, int, double)
  • Vector3 (float, int, double)
  • Vector4 (float, double)
  • README.md
  • TODO.md