All Versions
51
Latest Version
Avg Release Cycle
26 days
Latest Release
915 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v0.20.0 Changes
November 01, 2021๐ฅ Breaking changes
- โก๏ธ Minimum Supported Version of Rust bumped to 1.52.1 for an update to the
mint
crate.
โ Added
- โ Added implementations for new
IntoMint
trait from themint
crate. - โ Added
mint
conversions forMat3A
. - โ Added
as_vec3a
cast methods to vector types.
- โก๏ธ Minimum Supported Version of Rust bumped to 1.52.1 for an update to the
-
v0.19.0 Changes
October 05, 2021๐ฅ Breaking changes
- โ Removed truncating vector
From
implementations. Use.truncate()
or swizzle methods instead.
โ Added
- โ Added
Not
,Shl
,Shr
,BitAnd
,BitOr
andBitXor
implementations for allIVec
andUVec
vector types. - โ Added
NAN
constant for all types. - Documented
glam
's [architecture](ARCHITECTURE.md).
๐ Changed
- ๐
Sum
andProduct
traits are now implemented inno_std
builds.
- โ Removed truncating vector
-
v0.18.0 Changes
August 26, 2021๐ฅ Breaking changes
- โ
Minimum Supported Version of Rust bumped to 1.51.0 for
wasm-bindgen-test
andrustdoc
alias
support.
โ Added
- โ Added
wasm32
SIMD intrinsics support. - โ Added optional support for the
rkyv
serialization crate. - โ Added
Rem
andRemAssign
implementations for all vector types. - โ Added quaternion
xyz()
method for returning the vector part of the quaternion. - โ Added
From((Scalar, Vector3))
for 4D vector types.
๐ Changed
- Deprecated
as_f32()
,as_f64()
,as_i32()
andas_u32()
methods in favor of more specific methods such asas_vec2()
,as_dvec2()
,as_ivec2()
andas_uvec2()
and so on.
- โ
Minimum Supported Version of Rust bumped to 1.51.0 for
-
v0.17.3 Changes
July 18, 2021๐ Fixed
- ๐ Fix alignment unit tests on non x86 platforms.
-
v0.17.2 Changes
July 15, 2021๐ Fixed
- ๐ Fix alignment unit tests on i686 and S390x.
-
v0.17.1 Changes
June 29, 2021โ Added
- โ Added
serde
support forAffine2
,DAffine2
,Affine3A
andDAffine3
.
- โ Added
-
v0.17.0 Changes
June 26, 2021๐ฅ Breaking changes
- The addition of
Add
andSub
implementations of scalar values for vector types may create ambiguities with existing calls toadd
andsub
. - โ Removed
From<Mat3>
implementation forMat2
andFrom<DMat3>
forDMat2
. These have been replaced byMat2::from_mat3()
andDMat2::from_mat3()
. - โ Removed
From<Mat4>
implementation forMat3
andFrom<DMat4>
forDMat3
. These have been replaced byMat3::from_mat4()
andDMat3::from_mat4()
. - Removed deprecated
from_slice_unaligned()
,write_to_slice_unaligned()
,from_rotation_mat4
andfrom_rotation_ypr()
methods.
โ Added
- โ Added
col_mut()
method which returns a mutable reference to a matrix column to all matrix types. - โ Added
AddAssign
,MulAssign
andSubAssign
implementations for all matrix types. - โ Added
Add
andSub
implementations of scalar values for vector types. - โ Added more
glam_assert!
checks and documented methods where they are used. - โ Added vector projection and rejection methods
project_onto()
,project_onto_normalized()
,reject_from()
andreject_from_normalized()
. - Added
Mat2::from_mat3()
,DMat2::from_mat3()
,Mat3::from_mat4()
,DMat3::from_mat4()
which create a smaller matrix from a larger one, discarding a final row and column of the input matrix. - Added
Mat3::from_mat2()
,DMat3::from_mat2()
,Mat4::from_mat3()
andDMat4::from_mat3()
which create an affine transform from a smaller linear transform matrix.
๐ Changed
- ๐ Don't support
AsRef
andAsMut
on SPIR-V targets. Also removed SPIR-V support for some methods that usedas_ref()
, includinghash()
. Not a breaking change as these methods would not have worked anyway.
๐ Fixed
- ๐ Fixed compile time alignment checks failing on i686 targets.
- The addition of
-
v0.16.0 Changes
June 06, 2021๐ฅ Breaking changes
- ๐
sprirv-std
dependency was removed, rust-gpu depends on glam internally again for now. - โ Added
must_use
attribute to allinverse()
,normalize()
,try_normalize()
,transpose()
andconjugate()
methods.
โ Added
- โ Added
fract()
method to float vector types which return a vector containingself - self.floor()
. - โ Added optional support for the
approx
crate. Note that all glam types implement their ownabs_diff_eq()
method without requiring theapprox
dependency.
- ๐
-
v0.15.2 Changes
May 20, 2021โ Added
- โ Added
from_cols()
methods to affine types. - โ Added methods for reading and writing affine types from and to arrays and
slices, including
from_cols_array()
,to_cols_array()
,from_cols_array_2d()
,to_cols_array_2d()
,from_cols_slice()
andwrite_cols_to_slice()
. - โ Added
core::fmt::Display
trait implementations for affine types. - โ Added
core::ops::Add
,core::ops::Mul
scalar andcore::ops::Sub
trait implementations for affine types. - โ Added
from_array()
methods to quaternion types.
๐ Changed
- Renamed vector and quaternion
from_slice_unaligned()
andwrite_to_slice_unaligned()
methods tofrom_slice()
andwrite_to_slice()
. - Removed usage of
_mm_rcp_ps
from SSE2 implementation ofQuat::slerp
as this instruction is not deterministic between Intel and AMD chips.
- โ Added
-
v0.15.1 Changes
May 14, 2021๐ Changed
- Disable
const_assert_eq!
size and alignment checks for SPIR-V targets.
- Disable