glam v0.15.2 Release Notes

Release Date: 2021-05-20 // almost 3 years ago
  • ➕ 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() and write_cols_to_slice().
    • ➕ Added core::fmt::Display trait implementations for affine types.
    • ➕ Added core::ops::Add, core::ops::Mul scalar and core::ops::Sub trait implementations for affine types.
    • ➕ Added from_array() methods to quaternion types.

    🔄 Changed

    • Renamed vector and quaternion from_slice_unaligned() and write_to_slice_unaligned() methods to from_slice() and write_to_slice().
    • Removed usage of _mm_rcp_ps from SSE2 implementation of Quat::slerp as this instruction is not deterministic between Intel and AMD chips.