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 and Point1 structs.
    • ๐Ÿ‘ Serde support behind the eders feature flag.
    • An ApproxEq implementation for Decomposed.

    ๐Ÿ”„ Changed

    • ๐Ÿ‘€ Depend on the num-traits crate rather than num, seeing as we only use the traits in num. 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 by MetricSpace.
    • Constrain Rotation by One
    • Implement Transform and Transform3 for Matrix4.
    • Implement Transform, Transform2, and Transform3 for Matrix4.
    • ๐Ÿ›  Fix Euler-Quaternion and Quaternion-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.