cgmath-rs v0.8.0 Release Notes
Release Date: 2016-04-06 // about 8 years ago-
➕ Added
- Implements
fmt::Debug
forBasis2
,Basis3
, andAffineMatrix3
- A
prelude
module for easy importing of common traits. - Constrained conversion functions for assisting in situations where type inference is difficult.
- An
ElementWise
trait for non-mathematical element-wise operations. - 0️⃣ A default implementation for
EuclideanVector::angle
.
🔄 Changed
- 👌 Improves the
fmt::Debug
impls forVector
,Matrix
,Point
,Decomposed
,Quaternion
andAngle
to make them easier to derive, and have clearer formatting. - Marks vectors, points, matrices, and angles as
#[repr(C, packed)]
. - 📇 Renames the
Vector::{length, length2}
functions toVector::{magnitude, magnitude2}
. - 🚚 Move
Angle::new
to be directly implemented on theRad
andDeg
types. - 🚚 Move
Vector::dot
toEuclideanVector
trait. - 🚚 Move
Vector::from_value
toArray
trait.
✂ Removed
- 🚚 The non-mathematical operator trait implementations have been removed from
the
Vector
trait, in favor of theElementWise
trait. Angle::equiv
.- ✂ Remove
neg_self
method on vectors and matrices.
- Implements