glam v0.22.0 Release Notes
Release Date: 2022-10-24 // almost 2 years ago-
๐ฅ Breaking changes
โ Added
u32
implementation ofBVec3A
andBVec4
when SIMD is not available. These are used instead of aliasing to thebool
implementations.โ Removed
Add
,Sub
, and scalarMul
implementations from affine types as they didn't make sense on these types.โ Removed deprecated
const_*
macros. These have been replaced byconst fn
methods.
๐ Fixed
๐ Fixed
neg
andsignum
to consistently handle negative zero across multiple platforms.โ Removed
register_attr
feature usage for SPIR-V targets.
โ Added
โ Added missing
Serialize
,Deserialize
andPartialEq
implementations.โ Added
Sum<Self>
andProduct<Self>
implementations for all vector, matrix and quaternion types.Added 4x4 matrix methods
look_to_lh
andlook_to_rh
. These were previously private.Added
dot_into_vec
methods to vector which returns the result of the dot product splatted to all vector lanes.Added
is_negative_bitmask
to vector types which returns au32
of bits for each negative vector lane.โ Added
splat
method andTRUE
andFALSE
constants to allBVec
types.โ Added
from_mat3a
methods toAffine2
,Mat2
,Mat4
andQuat
types.
๐ Changed
0๏ธโฃ Disable
serde
default features.Made
to_cols_array
,to_cols_array_2d
, andfrom_diagonal
methodsconst fn
.
Previous changes from v0.21.3
-
๐ Fixed
- ๐ Fixed
glam_assert
being too restrictive in matrix transform point and transform vector methods.
โ Added
- โ Added experimental
core-simd
feature which enables SIMD support via the unstablecore::simd
module.
๐ Changed
- Derive from
PartialEq
andEq
instead of providing a trait implementation for all non SIMD types.
- ๐ Fixed