Releases: ScalaMath/VecMatLib
Releases · ScalaMath/VecMatLib
Release 3.1
Version 3.1
- Added methods to extract submatrices from 2x3 and 3x4 matrices.
- Added an
affineInverse
method for 2x3 and 3x4 matrices. - Added constructors to 2x3 and 3x4 matrices to construct a matrix from a submatrix and an additional column.
- Added
inverseLerp
function toscalamath
. - Added more overloaded methods for dot products.
Version 3.0
Update 3.0
- Full project overhaul
- Finished quaternions
- Moved color math to ColorLib
Version 2.3
Added quaternions.
QuaternionD
for double-precision andQuaternionF
for single-precision
Version 2.1
Additions since 2.0
- Added
apply
methods to vectors to allow the usage of theVec3f(xy, z)
syntax instead ofnew Vec3f(xy, z)
. - Added convenience methods to multiply 4x4 matrices with 4d vectors
Fixes since 2.1
- Fixed a few typos in the documentation
Release 1.2.2
New additions since version 1.2.1
- Added an
inverse
method for float and double vectors to compute the inverse with respect to the component-wise multiplication - Added
/
anddivide
methods for float and double vectors for component-wise division - Added more utility methods to create scaling and translation matrices
New additions since version 1.2
- Added toArray method to vectors and tuples to get an array with the same elements as the vector.
Fixes since version 1.2
- Vec4i now implements the Int4 trait
Changes since 1.1
- Color has been renamed to Color4f for better clarity and consistency
- Added Color3f to allow for the use of colors without transparency
- Added methods to make Color3fs and Color4fs work together
Version 1.2.1
New additions since version 1.2
- Added
toArray
method to vectors and tuples to get an array with the same elements as the vector.
Fixes since version 1.2
- Vec4i now implements the Int4 trait
Changes since 1.1
Color
has been renamed toColor4f
for better clarity and consistency- Added
Color3f
to allow for the use of colors without transparency - Added methods to make
Color3f
s andColor4f
s work together
Release 1.2
Changes since 1.1
Color
has been renamed toColor4f
for better clarity and consistency- Added
Color3f
to allow for the use of colors without transparency - Added methods to make
Color3f
s andColor4f
s work together
Release 1.1
New additions since 1.0
- Added colors package and Color structure (because colors are essentially 4D vectors)
- Added
lerp
andabs
functions to vectors
Other additions
- Added Java tests to test interoperability with Java
Release 1.0
Since no more bugs have been found in version 0.x the version number has been increased to 1.0
Version 0.2
Changes since 0.1:
- Replaced traits with abstract classes because they were giving compilation errors when used in Java.
- Removed automatic type conversion because of the excessive number of combination.
- Added "swizzling" (i. e. get a 3d vector from a 4d vector with '.xyz')
Release 0.1
Porting of VecMatLib library from Java to Scala