Debian Codegraph @

debian/missing-sources/glam-0.17.3/CHANGELOG.md

raw symbols SCIP
1 # Changelog
2
3 All notable changes to this project will be documented in this file.
4
5 The format is based on [Keep a Changelog], and this project adheres to
6 [Semantic Versioning].
7
8 ## [0.17.3] - 2021-07-18
9
10 ### Fixed
11
12 * Fix alignment unit tests on non x86 platforms.
13
14 ## [0.17.2] - 2021-07-15
15
16 ### Fixed
17
18 * Fix alignment unit tests on i686 and S390x.
19
20 ## [0.17.1] - 2021-06-29
21
22 ### Added
23
24 * Added `serde` support for `Affine2`, `DAffine2`, `Affine3A` and `DAffine3`.
25
26 ## [0.17.0] - 2021-06-26
27
28 ### Breaking changes
29
30 * The addition of `Add` and `Sub` implementations of scalar values for vector
31 types may create ambiguities with existing calls to `add` and `sub`.
32 * Removed `From<Mat3>` implementation for `Mat2` and `From<DMat3>` for `DMat2`.
33 These have been replaced by `Mat2::from_mat3()` and `DMat2::from_mat3()`.
34 * Removed `From<Mat4>` implementation for `Mat3` and `From<DMat4>` for `DMat3`.
35 These have been replaced by `Mat3::from_mat4()` and `DMat3::from_mat4()`.
36 * Removed deprecated `from_slice_unaligned()`, `write_to_slice_unaligned()`,
37 `from_rotation_mat4` and `from_rotation_ypr()` methods.
38
39 ### Added
40
41 * Added `col_mut()` method which returns a mutable reference to a matrix column
42 to all matrix types.
43 * Added `AddAssign`, `MulAssign` and `SubAssign` implementations for all matrix
44 types.
45 * Added `Add` and `Sub` implementations of scalar values for vector types.
46 * Added more `glam_assert!` checks and documented methods where they are used.
47 * Added vector projection and rejection methods `project_onto()`,
48 `project_onto_normalized()`, `reject_from()` and `reject_from_normalized()`.
49 * Added `Mat2::from_mat3()`, `DMat2::from_mat3()`, `Mat3::from_mat4()`,
50 `DMat3::from_mat4()` which create a smaller matrix from a larger one,
51 discarding a final row and column of the input matrix.
52 * Added `Mat3::from_mat2()`, `DMat3::from_mat2()`, `Mat4::from_mat3()` and
53 `DMat4::from_mat3()` which create an affine transform from a smaller linear
54 transform matrix.
55
56 ### Changed
57
58 * Don't support `AsRef` and `AsMut` on SPIR-V targets. Also removed SPIR-V
59 support for some methods that used `as_ref()`, including `hash()`. Not a
60 breaking change as these methods would not have worked anyway.
61
62 ### Fixed
63
64 * Fixed compile time alignment checks failing on i686 targets.
65
66 ## [0.16.0] - 2021-06-06
67
68 ### Breaking changes
69
70 * `sprirv-std` dependency was removed, rust-gpu depends on glam internally
71 again for now.
72 * Added `must_use` attribute to all `inverse()`, `normalize()`,
73 `try_normalize()`, `transpose()` and `conjugate()` methods.
74
75 ### Added
76
77 * Added `fract()` method to float vector types which return a vector containing
78 `self - self.floor()`.
79 * Added optional support for the `approx` crate. Note that all glam types
80 implement their own `abs_diff_eq()` method without requiring the `approx`
81 dependency.
82
83 ## [0.15.2] - 2021-05-20
84
85 ### Added
86
87 * Added `from_cols()` methods to affine types.
88 * Added methods for reading and writing affine types from and to arrays and
89 slices, including `from_cols_array()`, `to_cols_array()`,
90 `from_cols_array_2d()`, `to_cols_array_2d()`, `from_cols_slice()` and
91 `write_cols_to_slice()`.
92 * Added `core::fmt::Display` trait implementations for affine types.
93 * Added `core::ops::Add`, `core::ops::Mul` scalar and `core::ops::Sub` trait
94 implementations for affine types.
95 * Added `from_array()` methods to quaternion types.
96
97 ### Changed
98
99 * Renamed vector and quaternion `from_slice_unaligned()` and
100 `write_to_slice_unaligned()` methods to `from_slice()` and
101 `write_to_slice()`.
102 * Removed usage of `_mm_rcp_ps` from SSE2 implementation of `Quat::slerp` as
103 this instruction is not deterministic between Intel and AMD chips.
104
105 ## [0.15.1] - 2021-05-14
106
107 ### Changed
108
109 * Disable `const_assert_eq!` size and alignment checks for SPIR-V targets.
110
111 ## [0.15.0] - 2021-05-14
112
113 ### Breaking changes
114
115 * Removed `PartialOrd` and `Ord` trait implementations for all `glam` types.
116 * Removed deprecated `zero()`, `one()`, `unit_x()`, `unit_y()`, `unit_z()`,
117 `unit_w()`, `identity()` and `Mat2::scale()` methods.
118 * Remove problematic `Quat` `From` trait conversions which would allow creating
119 a non-uniform quaternion without necessarily realising, including from
120 `Vec4`, `(x, y, z, w)` and `[f32; 4]`.
121
122 ### Added
123
124 * Added `EulerRot` enum for specifying Euler rotation order and
125 `Quat::from_euler()`, `Mat3::from_euler()` and `Mat4::from_euler()` which
126 support specifying a rotation order and angles of rotation.
127 * Added `Quat::to_euler()` method for extracting Euler angles.
128 * Added `Quat::from_vec4()` which is an explicit method for creating a
129 quaternion from a 4D vector. The method does not normalize the resulting
130 quaternion.
131 * Added `Mat3A` type which uses `Vec3A` columns. It is 16 byte aligned and
132 contains internal padding but it generally faster than `Mat3` for most
133 operations if SIMD is available.
134 * Added 3D affine transform types `Affine3A` and `DAffine3`. These are more
135 efficient than using `Mat4` and `DMat4` respectively when working with 3D
136 affine transforms.
137 * Added 2D affine transform types `Affine2` and `DAffine2`. These are more
138 efficient than using `Mat3` and `DMat3` respectively when working with 2D
139 affine transforms.
140 * Added `Quat::from_affine3()` to create a quaternion from an affine transform
141 rotation.
142 * Added explicit `to_array()` method to vector types to better match the matrix
143 methods.
144
145 ### Changed
146
147 * Deprecated `Quat::from_rotation_ypr()`, `Mat3::from_rotation_ypr()` and
148 `Mat4::from_rotation_ypr()` in favor of new `from_euler()` methods.
149 * Deprecated `Quat::from_rotation_mat3()` and `Quat::from_rotation_mat4()` in
150 favor of new `from_mat3` and `from_mat4` methods.
151 * Deprecated `TransformSRT` and `TransformRT` which are under the
152 `transform-types` feature. These will be moved to a separate experimental
153 crate.
154 * Updated `spriv-std` dependency version to `0.4.0-alpha7`.
155
156 ## [0.14.0] - 2021-04-09
157
158 ### Breaking changes
159
160 * Minimum Supported Version of Rust bumped to 1.45.0 for the `spriv-std`
161 dependency.
162
163 ### Added
164
165 * Added `AXES[]` constants to all vector types. These are arrays containing the
166 unit vector for each axis.
167 * Added quaternion `from_scaled_axis` and `to_scaled_axis` methods.
168
169 ### Changed
170
171 * Updated dependency versions of `bytemuck` to `1.5`, `rand` to `0.8`,
172 `rand_xoshiro` to `0.6` and `spriv-std` to `0.4.0-alpha4`.
173
174 ## [0.13.1] - 2021-03-24
175
176 ### Added
177
178 * Added vector `clamp()` functions.
179 * Added matrix column and row accessor methods, `col()` and `row()`.
180 * Added SPIR-V module and dependency on `spriv-std` for the SPIR-V target.
181 * Added matrix truncation from 4x4 to 3x3 and 3x3 to 2x2 via `From` impls.
182
183 ### Changed
184
185 * Documentation corrections and improvements.
186
187 ## [0.13.0] - 2021-03-04
188
189 ### Breaking Changes
190
191 * The behavior of the 4x4 matrix method `transform_point3()` was changed to not
192 perform the perspective divide. This is an optimization for use with affine
193 transforms where perspective correction is not required. The
194 `project_point3()` method was added for transforming points by perspective
195 projections.
196 * The 3x3 matrix `from_scale()` method was changed to
197 create a affine transform containing a 2-dimensional non-uniform scale to be
198 consistent with the 4x4 matrix version. The
199 `from_diagonal()` method can be used to create a 3x3 scale matrix.
200 * The 3x3 matrix methods `transform_point2_as_vec3a`,
201 `transform_vector2_as_vec3a` and `mul_vec3_as_vec3a` were unintentionally
202 `pub` and are no longer publicly accessible.
203
204 ### Added
205
206 * Added `Vec2::X`, `Vec4::W` etc constants as a shorter versions of `unit_x()`
207 and friends.
208 * Added `ONE` constants for vectors.
209 * Added `IDENTITY` constants for `Mat2`, `Mat3`, `Mat4` and `Quat`.
210 * Added `ZERO` constant for vectors and matrices.
211 * Added `clamp_length()`, `clamp_length_max()`, and `clamp_length_min` methods
212 for `f32` and `f64` vector types.
213 * Added `try_normalize()` and `normalize_or_zero()` for all real vector types.
214 * Added `from_diagonal()` methods to all matrix types for creating diagonal
215 matrices from a vector.
216 * Added `angle_between()`, `from_rotation_arc()` and
217 `from_rotation_arc_colinear()` to quaternion types.
218 * Added quaternion `inverse()` which assumes the quaternion is already
219 normalized and returns the conjugate.
220 * Added `from_translation()` and `from_angle()` methods to 3x3 matrix types.
221 * Added `project_point3()` method to 4x4 matrix types. This method is for
222 transforming 3D vectors by perspective projection transforms.
223 * Added `Eq` and `Hash` impls for integer vector types.
224
225 ### Changed
226
227 * Deprecated `::unit_x/y/z()`, `::zero()`, `::one()`, `::identity()` functions
228 in favor of constants.
229
230 ## [0.12.0] - 2021-01-15
231
232 ### Breaking Changes
233
234 * `Vec2Mask`, `Vec3Mask` and `Vec4Mask` have been replaced by `BVec2`, `BVec3`,
235 `BVec3A`, `BVec4` and `BVec4A`. These types are used by some vector methods
236 and are not typically referenced directly.
237
238 ### Added
239
240 * Added `f64` primitive type support
241 * vectors: `DVec2`, `DVec3` and `DVec4`
242 * square matrices: `DMat2`, `DMat3` and `DMat4`
243 * a quaternion type: `DQuat`
244 * Added `i32` primitive type support
245 * vectors: `IVec2`, `IVec3` and `IVec4`
246 * Added `u32` primitive type support
247 * vectors: `UVec2`, `UVec3` and `UVec4`
248 * Added `bool` primitive type support
249 * vectors: `BVec2`, `BVec3` and `BVec4`
250
251 ### Removed
252
253 * `build.rs` has been removed.
254
255 ## [0.11.3] - 2020-12-29
256
257 ### Changed
258
259 * Made `Vec3` `repr(simd)` for `spriv` targets.
260
261 ### Added
262
263 * Added `From<(Vec2, f32)>` for `Vec3` and `From<(Vec3, f32)` for `Vec4`.
264
265 ## [0.11.2] - 2020-12-04
266
267 ### Changed
268
269 * Compilation fixes for Rust 1.36.0.
270
271 ## [0.11.1] - 2020-12-03
272
273 ### Added
274
275 * Added support for the [Rust GPU](https://github.com/EmbarkStudios/rust-gpu)
276 SPIR-V target architecture.
277
278 ## [0.11.0] - 2020-11-26
279
280 ### Added
281
282 * Added `is_finite` method to all types which returns `true` if, and only if,
283 all contained elements are finite.
284 * Added `exp` and `powf` methods for all vector types.
285
286 ### Changed
287
288 * The `is_nan` method now returns a `bool` to match the new `is_finite` method
289 and to be consistent with the same methods on the `f32` and `f64` primitive
290 types.
291 * Renamed `is_nan` which returns a vector mask to `is_nan_mask`.
292 * Don't use the `cfg` definitions added by `build.rs` for defining structs as
293 `rust-analyzer` is not aware of them.
294
295 ### Removed
296
297 * Removed deprecated accessor methods.
298
299 ## [0.10.2] - 2020-11-17
300
301 ### Changed
302
303 * Deprecated element accessor members `.x()`, `.x_mut()`, `.set_x()`, etc. on
304 vector and quaternion types.
305 * Deprecated column accessor members `.x_axis()`, `.x_axis_mut()`,
306 `.set_x_axis()`, etc. on matrix types.
307
308 ## [0.10.1] - 2020-11-15
309
310 ### Added
311
312 * Added the `Vec2::perp` method which returns a `Vec2` perpendicular to `self`.
313
314 ### Changed
315
316 * `Vec2` and `Vec3` types were changed to use public named fields for `.x`,
317 `.y`, and `.z` instead of accessors.
318 * `Quat`, `Vec3A` and `Vec4` implement `Deref` and `DerefMut` for the new `XYZ`
319 and `XYZW` structs to emulate public named field access.
320 * `Mat3` and `Mat4` had their axis members made pubic instead of needing
321 accessors.
322 * `Mat2` implements `Deref` and `DerefMut` for the new `XYAxes` struct to
323 emulate public named field access.
324
325 ### Removed
326
327 * Removed deprecated `length_reciprocal` and `sign` methods.
328
329 ### Fixed
330
331 * Adding `glam` as a `no_std` dependency should now work as expected.
332
333 ## [0.10.0] - 2020-10-31
334
335 ### Breaking Changes
336
337 * Changed the return type of `Vec4::truncate` from `Vec3A` to `Vec3`.
338
339 ### Added
340
341 * Added `From` implementations to truncate to narrower vector types, e.g.
342 `Vec4` to `Vec3A`, `Vec3` and `Vec2` and from `Vec3A` and `Vec3` to `Vec2`.
343 * Added swizzles for `Vec4`, `Vec3A`, `Vec3` and `Vec2`. These can be used to
344 reorder elements in the same type and also to create larger or smaller
345 vectors from the given vectors elements.
346 * Added `Quat` operators `Add<Quat>`, `Sub<Quat>`, `Mul<f32>` and `Div<f32`.
347 These are used by other crates for interpolation quaternions along splines.
348 Note that these operations will not return unit length quaternions, thus the
349 results must be normalized before performing other `Quat` operations.
350 * Added `Mat4::transform_point3a` and `Mat4::transform_vector3a`.
351 * Added `AsRef<[f32; 9]>` and `AsMut<[f32; 9]>` trait implementations to `Mat3`.
352 * Added optional `bytemuck` support primarily for casting types to `&[u8]`.
353 * Added support for compiling with `no_std` by disabling the default `std`
354 feature and adding the `libm` feature.
355 * Added `distance` and `distance_squared` methods to `Vec2`, `Vec3`, `Vec3A`
356 and `Vec4`.
357
358 ## [0.9.5] - 2020-10-10
359
360 ### Added
361
362 * `glam` uses SSE2 for some types which prevents constructor functions can not
363 be made `const fn`. To work around this limitation the following macro
364 functions have been added to support creating `const` values of `glam` types:
365 `const_mat2`, `const_mat3`, `const_mat4`, `const_quat`, `const_vec2`,
366 `const_vec3`, `const_vec3a` and `const_vec4`.
367 * Added `is_nan` methods to `Vec2`, `Vec3`, `Vec3A` and `Vec4` which return a
368 mask.
369
370 ## Changed
371
372 * Renamed the vector `reciprocal` and `length_reciprocal` methods to `recip`
373 and `length_recip` to match the Rust standard library naming. The old methods
374 have been deprecated.
375 * Renamed the vector `sign` methods to `signum` match the Rust standard library
376 naming. The new methods now check for `NAN`. The old methods have been
377 deprecated.
378 * Added SSE2 optimized implementations of `Mat4::determinant` and
379 `Mat4::inverse`.
380
381 ### Removed
382
383 * Removed deprecated function `Mat4::perspective_glu_rh`.
384
385 ## [0.9.4] - 2020-08-31
386
387 ### Fixed
388
389 * Fixed `Mat4::transform_point3` to account for homogeneous w coordinate.
390 Previously this would have been incorrect when the resulting homogeneous
391 coordinate was not 1.0, e.g. when transforming by a perspective projection.
392 * Fixed `Mat3::transform_point2` to account for homogeneous z coordinate.
393
394 ## [0.9.3] - 2020-08-11
395
396 ### Added
397
398 * Added `Mat4::perspective_rh`.
399
400 ## [0.9.2] - 2020-07-09
401
402 ### Added
403
404 * Added `Mat3::mul_vec3a` and `Quat::mul_vec3a`.
405
406 ### Changed
407
408 * Changed `Quat::mul_vec3` to accept and return `Vec3` instead of `Vec3A`.
409
410 ## [0.9.1] - 2020-07-01
411
412 ### Added
413
414 * Added `Mat3 * Vec3A` implementation.
415 * Added `Vec3A` benches.
416
417 ### Changed
418
419 * Some documentation improvements around the new `Vec3A` type.
420
421 ## [0.9.0] - 2020-06-28
422
423 ### Added
424
425 * `Vec3` has been split into scalar `Vec3` and 16 byte aligned `Vec3A` types.
426 Only the `Vec3A` type currently uses SIMD optimizations.
427 * `Vec3Mask` has been split into scalar `Vec3Mask` and 16 byte aligned
428 `Vec3AMask` types.
429 * Added `mut` column accessors to all matrix types, e.g. `Mat2::x_axis_mut()`.
430 * Added `From` trait implementations for `Vec3AMask` and `Vec4Mask` to `__m128`.
431
432 ### Changed
433
434 * The `Mat3` type is using the scalar `Vec3` type for storage.
435 * Simplified `Debug` trait output for `Quat`, `Vec4` and `Vec3A`.
436
437 ## Removed
438
439 * Removed the `packed-vec3` feature flag as it is now redundant.
440
441 ## [0.8.7] - 2020-04-28
442
443 ### Added
444
445 * Added `Quat::slerp` - note that this uses a `sin` approximation.
446 * Added `angle_between` method for `Vec2` and `Vec3`.
447 * Implemented `Debug`, `Display`, `PartialEq`, `Eq`, `PartialOrd`, `Ord`,
448 `Hash`, and `AsRef` traits for `Vec2Mask`, `Vec3Mask` and `Vec4Mask`.
449 * Added conversion functions from `Vec2Mask`, `Vec3Mask` and `Vec4Mask` to an
450 array of `[u32]`.
451 * Added `build.rs` to simplify conditional feature compilation.
452
453 ### Changed
454
455 * Increased test coverage.
456
457 ### Removed
458
459 * Removed `cfg-if` dependency.
460
461 ## [0.8.6] - 2020-02-18
462
463 ### Added
464
465 * Added the `packed-vec3` feature flag to disable using SIMD types for `Vec3`
466 and `Mat3` types. This avoids wasting some space due to 16 byte alignment at
467 the cost of some performance.
468 * Added `x_mut`, `y_mut`, `z_mut`, `w_mut` where appropriate to `Vec2`, `Vec3`
469 and `Vec4`.
470 * Added implementation of `core::ops::Index` and `core::ops::IndexMut` for
471 `Vec2`, `Vec3` and `Vec4`.
472
473 ### Changed
474
475 * Merged SSE2 and scalar `Vec3` and `Vec4` implementations into single files
476 using the `cfg-if` crate.
477
478 ## [0.8.5] - 2020-01-02
479
480 ### Added
481
482 * Added projection functions `Mat4::perspective_lh`,
483 `Mat4::perspective_infinite_lh`, `Mat4::perspective_infinite_reverse_lh`,
484 `Mat4::orthgraphic_lh` and `Mat4::orthographic_rh`.
485 * Added `round`, `ceil` and `floor` methods to `Vec2`, `Vec3` and `Vec4`.
486
487 ## [0.8.4] - 2019-12-17
488
489 ### Added
490
491 * Added `Mat4::to_scale_rotation_translation` for extracting scale, rotation and
492 translation from a 4x4 homogeneous transformation matrix.
493 * Added `cargo-deny` GitHub Action.
494
495 ### Changed
496
497 * Renamed `Quat::new` to `Quat::from_xyzw`.
498
499 ## [0.8.3] - 2019-11-27
500
501 ### Added
502
503 * Added `Mat4::orthographic_rh_gl`.
504
505 ### Changed
506
507 * Renamed `Mat4::perspective_glu_rh` to `Mat4::perspective_rh_gl`.
508 * SSE2 optimizations for `Mat2::determinant`, `Mat2::inverse`,
509 `Mat2::transpose`, `Mat3::transpose`, `Quat::conjugate`, `Quat::lerp`,
510 `Quat::mul_vec3`, `Quat::mul_quat` and `Quat::from_rotation_ypr`.
511 * Disabled optimizations to `Mat4::transform_point3` and
512 `Mat4::transform_vector3` as they are probably incorrect and need
513 investigating.
514 * Added missing `#[repr(C)]` to `Mat2`, `Mat3` and `Mat4`.
515 * Benchmarks now store output of functions to better estimate the cost of a
516 function call.
517
518 ### Removed
519
520 * Removed deprecated functions `Mat2::new`, `Mat3::new` and `Mat4::new`.
521
522 ## [0.8.2] - 2019-11-06
523
524 ### Changed
525
526 * `glam_assert!` is no longer enabled by default in debug builds, it can be
527 enabled in any configuration using the `glam-assert` feature or in debug
528 builds only using the `debug-glam-assert` feature.
529
530 ### Removed
531
532 * `glam_assert!`'s checking `lerp` is bounded between 0.0 and 1.0 and that
533 matrix scales are non-zero have been removed.
534
535 ## [0.8.1] - 2019-11-03
536
537 ### Added
538
539 * Added `Display` trait implementations for `Mat2`, `Mat3` and `Mat4`.
540
541 ### Changed
542
543 * Disabled `glam`'s SSE2 `sin_cos` implementation - it became less precise for
544 large angle values.
545 * Reduced the default epsilon used by the `is_normalized!` macro from
546 `std::f32::EPSILON` to `1e-6`.
547
548 ## [0.8.0] - 2019-10-14
549
550 ### Removed
551
552 * Removed the `approx` crate dependency. Each `glam` type has an `abs_diff_eq`
553 method added which is used by unit tests for approximate floating point
554 comparisons.
555 * Removed the `Angle` type. All angles are now `f32` and are expected to
556 be in radians.
557 * Removed the deprecated `Vec2b`, `Vec3b` and `Vec4b` types and the `mask`
558 methods on `Vec2Mask`, `Vec3Mask` and `Vec4Mask`.
559
560 ### Changed
561
562 * The `rand` crate dependency has been removed from default features. This was
563 required for benchmarking but a simple random number generator has been added
564 to the benches `support` module instead.
565 * The `From` trait implementation converting between 1D and 2D `f32` arrays and
566 matrix types have been removed. It was ambiguous how array data would map to
567 matrix columns so these have been replaced with explicit methods
568 `from_cols_array` and `from_cols_array_2d`.
569 * Matrix `new` methods have been renamed to `from_cols` to be consistent with
570 the other methods that create matrices from data.
571 * Renamed `Mat4::perspective_glu` to `Mat4::perspective_glu_rh`.
572
573 ## [0.7.2] - 2019-09-22
574
575 ### Fixed
576
577 * Fixed incorrect projection matrix methods `Mat4::look_at_lh`
578 and `Mat4::look_at_rh`.
579
580 ### Added
581
582 * Added support for building infinite projection matrices, including both
583 standard and reverse depth `Mat4::perspective_infinite_rh` and
584 `Mat4::perspective_infinite_rh`.
585 * Added `Vec2Mask::new`, `Vec3Mask::new` and `Vec4Mask::new` methods.
586 * Implemented `std::ops` `BitAnd`, `BitAndAssign`, `BitOr`, `BitOrAssign`
587 and `Not` traits for `Vec2Mask`, `Vec3Mask` and `Vec4Mask`.
588 * Added method documentation for `Vec4` and `Vec4Mask` types.
589 * Added missing `serde` implementations for `Mat2`, `Mat3` and `Mat4`.
590 * Updated `rand` and `criterion` versions.
591
592 ## [0.7.1] - 2019-07-08
593
594 ### Fixed
595
596 * The SSE2 implementation of `Vec4` `dot` was missing a shuffle, meaning the
597 `dot`, `length`, `length_squared`, `length_reciprocal` and `normalize`
598 methods were sometimes incorrect.
599
600 ### Added
601
602 * Added the `glam_assert` macro which behaves like Rust's `debug_assert` but
603 can be enabled separately to `debug_assert`. This is used to perform
604 asserts on correctness.
605 * Added `is_normalized` method to `Vec2`, `Vec3` and `Vec4`.
606
607 ### Changed
608
609 * Replaced usage of `std::mem::uninitialized` with `std::mem::MaybeUninit`. This
610 change requires stable Rust 1.36.
611 * Renamed `Vec2b` to `Vec2Mask`, `Vec3b` to `Vec3Mask` and `Vec4b` to
612 `Vec4Mask`. Old names are aliased to the new name and deprecated.
613 * Deprecate `VecNMask` `mask` method, use new `bitmask` method instead
614 * Made fallback version of `VecNMask` types the same size and alignment as the
615 SIMD versions.
616 * Added `Default` support to `VecNMask` types, will add more common traits in
617 the future.
618 * Added `#[inline]` to `mat2`, `mat3` and `mat4` functions.
619
620 ## [0.7.0] - 2019-06-28
621
622 ### Added
623
624 * Added `Mat2` into `[f32; 4]`, `Mat3` into `[f32; 9]` and `Mat4` into
625 `[f32; 16]`.
626
627 ### Removed
628
629 * Removed `impl Mul<&Vec2> for Mat2` and `impl Mul<&Vec3> for Vec3` as these
630 don't exist for any other types.
631
632 ## [0.6.1] - 2019-06-22
633
634 ### Changed
635
636 * `Mat2` now uses a `Vec4` internally which gives it some performance
637 improvements when SSE2 is available.
638
639 ## 0.6.0 - 2019-06-13
640
641 ### Changed
642
643 * Switched from row vectors to column vectors
644 * Vectors are now on the right of multiplications with matrices and quaternions.
645
646 [Keep a Changelog]: https://keepachangelog.com/
647 [Semantic Versioning]: https://semver.org/spec/v2.0.0.html
648 [Unreleased]: https://github.com/bitshifter/glam-rs/compare/0.17.3...HEAD
649 [0.17.3]: https://github.com/bitshifter/glam-rs/compare/0.17.2...0.17.3
650 [0.17.2]: https://github.com/bitshifter/glam-rs/compare/0.17.1...0.17.2
651 [0.17.1]: https://github.com/bitshifter/glam-rs/compare/0.17.0...0.17.1
652 [0.17.0]: https://github.com/bitshifter/glam-rs/compare/0.16.0...0.17.0
653 [0.16.0]: https://github.com/bitshifter/glam-rs/compare/0.15.2...0.16.0
654 [0.15.2]: https://github.com/bitshifter/glam-rs/compare/0.15.1...0.15.2
655 [0.15.1]: https://github.com/bitshifter/glam-rs/compare/0.15.0...0.15.1
656 [0.15.0]: https://github.com/bitshifter/glam-rs/compare/0.14.0...0.15.0
657 [0.14.0]: https://github.com/bitshifter/glam-rs/compare/0.13.1...0.14.0
658 [0.13.1]: https://github.com/bitshifter/glam-rs/compare/0.13.0...0.13.1
659 [0.13.0]: https://github.com/bitshifter/glam-rs/compare/0.12.0...0.13.0
660 [0.12.0]: https://github.com/bitshifter/glam-rs/compare/0.11.3...0.12.0
661 [0.11.3]: https://github.com/bitshifter/glam-rs/compare/0.11.2...0.11.3
662 [0.11.2]: https://github.com/bitshifter/glam-rs/compare/0.11.1...0.11.2
663 [0.11.1]: https://github.com/bitshifter/glam-rs/compare/0.11.0...0.11.1
664 [0.11.0]: https://github.com/bitshifter/glam-rs/compare/0.10.2...0.11.0
665 [0.10.2]: https://github.com/bitshifter/glam-rs/compare/0.10.1...0.10.2
666 [0.10.1]: https://github.com/bitshifter/glam-rs/compare/0.10.0...0.10.1
667 [0.10.0]: https://github.com/bitshifter/glam-rs/compare/0.9.5...0.10.0
668 [0.9.5]: https://github.com/bitshifter/glam-rs/compare/0.9.4...0.9.5
669 [0.9.4]: https://github.com/bitshifter/glam-rs/compare/0.9.3...0.9.4
670 [0.9.3]: https://github.com/bitshifter/glam-rs/compare/0.9.2...0.9.3
671 [0.9.2]: https://github.com/bitshifter/glam-rs/compare/0.9.1...0.9.2
672 [0.9.1]: https://github.com/bitshifter/glam-rs/compare/0.9.0...0.9.1
673 [0.9.0]: https://github.com/bitshifter/glam-rs/compare/0.8.7...0.9.0
674 [0.8.7]: https://github.com/bitshifter/glam-rs/compare/0.8.6...0.8.7
675 [0.8.6]: https://github.com/bitshifter/glam-rs/compare/0.8.5...0.8.6
676 [0.8.5]: https://github.com/bitshifter/glam-rs/compare/0.8.4...0.8.5
677 [0.8.4]: https://github.com/bitshifter/glam-rs/compare/0.8.3...0.8.4
678 [0.8.3]: https://github.com/bitshifter/glam-rs/compare/0.8.2...0.8.3
679 [0.8.2]: https://github.com/bitshifter/glam-rs/compare/0.8.1...0.8.2
680 [0.8.1]: https://github.com/bitshifter/glam-rs/compare/0.8.0...0.8.1
681 [0.8.0]: https://github.com/bitshifter/glam-rs/compare/0.7.2...0.8.0
682 [0.7.2]: https://github.com/bitshifter/glam-rs/compare/0.7.1...0.7.2
683 [0.7.1]: https://github.com/bitshifter/glam-rs/compare/0.7.0...0.7.1
684 [0.7.0]: https://github.com/bitshifter/glam-rs/compare/0.6.1...0.7.0
685 [0.6.1]: https://github.com/bitshifter/glam-rs/compare/0.6.0...0.6.1