cgmath-rs v0.10.0 Release Notes
Release Date: 2016-05-11 // almost 8 years ago-
โ Added
- A
MetricSpace
trait for types that have a distance between elements. - 0๏ธโฃ
EuclideanSpace::{midpoint, centroid}
functions with default implementations. Vector1
andPoint1
structs.- ๐ Serde support behind the
eders
feature flag. - An
ApproxEq
implementation forDecomposed
.
๐ Changed
- ๐ Depend on the
num-traits
crate rather thannum
, seeing as we only use the traits innum
.num_traits
has also been re-exported so that you can more easily use these in your project. - ๐ Use an
Euler
type for euler angle conversions. - Constrain
InnerSpace
byMetricSpace
. - Constrain
Rotation
byOne
- Implement
Transform
andTransform3
forMatrix4
. - Implement
Transform
,Transform2
, andTransform3
forMatrix4
. - ๐ Fix
Euler
-Quaternion
andQuaternion
-Euler
conversions. The axes are now correct, and the angles are applied in x-y-z order. The conversion now matches the conversion from axis angle. - ๐ Fix
Euler
-{Matrix3, Matrix4}
conversions.
- A