All Versions
51
Latest Version
Avg Release Cycle
26 days
Latest Release
939 days ago
Changelog History
Page 4
Changelog History
Page 4
-
v0.10.1 Changes
November 15, 2020โ Added
- โ Added the
Vec2::perp
method which returns aVec2
perpendicular toself
.
๐ Changed
Vec2
andVec3
types were changed to use public named fields for.x
,.y
, and.z
instead of accessors.Quat
,Vec3A
andVec4
implementDeref
andDerefMut
for the newXYZ
andXYZW
structs to emulate public named field access.Mat3
andMat4
had their axis members made public instead of needing accessors.Mat2
implementsDeref
andDerefMut
for the newXYAxes
struct to emulate public named field access.
โ Removed
- โ Removed deprecated
length_reciprocal
andsign
methods.
๐ Fixed
- โ Adding
glam
as ano_std
dependency should now work as expected.
- โ Added the
-
v0.10.0 Changes
October 31, 2020๐ฅ Breaking Changes
- ๐ Changed the return type of
Vec4::truncate
fromVec3A
toVec3
.
โ Added
- โ Added
From
implementations to truncate to narrower vector types, e.g.Vec4
toVec3A
,Vec3
andVec2
and fromVec3A
andVec3
toVec2
. - โ Added swizzles for
Vec4
,Vec3A
,Vec3
andVec2
. These can be used to reorder elements in the same type and also to create larger or smaller vectors from the given vectors elements. - โ Added
Quat
operatorsAdd<Quat>
,Sub<Quat>
,Mul<f32>
andDiv<f32
. These are used by other crates for interpolation quaternions along splines. Note that these operations will not return unit length quaternions, thus the results must be normalized before performing otherQuat
operations. - Added
Mat4::transform_point3a
andMat4::transform_vector3a
. - โ Added
AsRef<[f32; 9]>
andAsMut<[f32; 9]>
trait implementations toMat3
. - โ Added optional
bytemuck
support primarily for casting types to&[u8]
. - โ Added support for compiling with
no_std
by disabling the defaultstd
feature and adding thelibm
feature. - โ Added
distance
anddistance_squared
methods toVec2
,Vec3
,Vec3A
andVec4
.
- ๐ Changed the return type of
-
v0.9.5 Changes
October 10, 2020โ Added
glam
uses SSE2 for some types which prevents constructor functions can not be madeconst fn
. To work around this limitation the following macro functions have been added to support creatingconst
values ofglam
types:const_mat2
,const_mat3
,const_mat4
,const_quat
,const_vec2
,const_vec3
,const_vec3a
andconst_vec4
.- โ Added
is_nan
methods toVec2
,Vec3
,Vec3A
andVec4
which return a mask.
-
v0.9.4 Changes
August 31, 2020๐ Fixed
- ๐ Fixed
Mat4::transform_point3
to account for homogeneous w coordinate. Previously this would have been incorrect when the resulting homogeneous coordinate was not 1.0, e.g. when transforming by a perspective projection. - ๐ Fixed
Mat3::transform_point2
to account for homogeneous z coordinate.
- ๐ Fixed
-
v0.9.3 Changes
August 11, 2020โ Added
- โ Added
Mat4::perspective_rh
.
- โ Added
-
v0.9.2 Changes
July 09, 2020โ Added
- Added
Mat3::mul_vec3a
andQuat::mul_vec3a
.
๐ Changed
- ๐ Changed
Quat::mul_vec3
to accept and returnVec3
instead ofVec3A
.
- Added
-
v0.9.1 Changes
July 01, 2020โ Added
- โ Added
Mat3 * Vec3A
implementation. - โ Added
Vec3A
benches.
๐ Changed
- ๐ Some documentation improvements around the new
Vec3A
type.
- โ Added
-
v0.9.0 Changes
June 28, 2020โ Added
Vec3
has been split into scalarVec3
and 16 byte alignedVec3A
types. Only theVec3A
type currently uses SIMD optimizations.Vec3Mask
has been split into scalarVec3Mask
and 16 byte alignedVec3AMask
types.- Added
mut
column accessors to all matrix types, e.g.Mat2::x_axis_mut()
. - โ Added
From
trait implementations forVec3AMask
andVec4Mask
to__m128
.
๐ Changed
- The
Mat3
type is using the scalarVec3
type for storage. - Simplified
Debug
trait output forQuat
,Vec4
andVec3A
.
-
v0.8.7 Changes
April 28, 2020โ Added
- โ Added
Quat::slerp
- note that this uses asin
approximation. - โ Added
angle_between
method forVec2
andVec3
. - Implemented
Debug
,Display
,PartialEq
,Eq
,PartialOrd
,Ord
,Hash
, andAsRef
traits forVec2Mask
,Vec3Mask
andVec4Mask
. - โ Added conversion functions from
Vec2Mask
,Vec3Mask
andVec4Mask
to an array of[u32]
. - โ Added
build.rs
to simplify conditional feature compilation.
๐ Changed
- โ Increased test coverage.
โ Removed
- โ Removed
cfg-if
dependency.
- โ Added
-
v0.8.6 Changes
February 18, 2020โ Added
- โ Added the
packed-vec3
feature flag to disable using SIMD types forVec3
andMat3
types. This avoids wasting some space due to 16 byte alignment at the cost of some performance. - Added
x_mut
,y_mut
,z_mut
,w_mut
where appropriate toVec2
,Vec3
andVec4
. - โ Added implementation of
core::ops::Index
andcore::ops::IndexMut
forVec2
,Vec3
andVec4
.
๐ Changed
- ๐ Merged SSE2 and scalar
Vec3
andVec4
implementations into single files using thecfg-if
crate.
- โ Added the