Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog], and this project adheres to
[Semantic Versioning].

## [0.32.1] - 2026-03-06

### Fixed

* Fixed the implementation of dividing a scalar value by a matrix. This was
actually dividing the matrix by the scalar value, with this fix
`1.0/m == m.recip()` is now true.

### Added

* Added matrix `recip()` method which returns a new matrix containing the
reciprocal of each element of the source matrix.

## [0.32.0] - 2026-02-11

### Breaking changes
Expand Down Expand Up @@ -46,7 +59,7 @@ The format is based on [Keep a Changelog], and this project adheres to
diagonal of the matrix.

* Added `mul_diagonal_scale` methods to matrix types which multiply the matrix
by a scale vector without needing to mulitply by a scale matrix.
by a scale vector without needing to multiply by a scale matrix.

* Added `mul_transpose_vecn` methods to matrix types which multiply the vector
by the transpose of the matrix without needing to transpose it first. They can
Expand Down Expand Up @@ -1384,7 +1397,8 @@ The format is based on [Keep a Changelog], and this project adheres to

[Keep a Changelog]: https://keepachangelog.com/
[Semantic Versioning]: https://semver.org/spec/v2.0.0.html
[Unreleased]: https://github.com/bitshifter/glam-rs/compare/0.32.0...HEAD
[Unreleased]: https://github.com/bitshifter/glam-rs/compare/0.32.1...HEAD
[0.32.1]: https://github.com/bitshifter/glam-rs/compare/0.32.0...0.32.1
[0.32.0]: https://github.com/bitshifter/glam-rs/compare/0.31.1...0.32.0
[0.31.1]: https://github.com/bitshifter/glam-rs/compare/0.31.0...0.31.1
[0.31.0]: https://github.com/bitshifter/glam-rs/compare/0.30.10...0.31.0
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "glam"
version = "0.32.0" # remember to update html_root_url
version = "0.32.1" # remember to update html_root_url
edition = "2021"
authors = ["Cameron Hart <[email protected]>"]
description = "A simple and fast 3D math library for games and graphics"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ defined in `std`. For example:

```toml
[dependencies]
glam = { version = "0.32.0", default-features = false, features = ["libm"] }
glam = { version = "0.32.1", default-features = false, features = ["libm"] }
```

To support both `std` and `no_std` builds in project, you can use the following
Expand All @@ -98,7 +98,7 @@ std = ["glam/std"]
libm = ["glam/libm"]

[dependencies]
glam = { version = "0.32.0", default-features = false }
glam = { version = "0.32.1", default-features = false }
```

Alternatively, you can use the `nostd-libm` feature. This will always include a
Expand All @@ -114,7 +114,7 @@ std = ["glam/std"]
libm = ["glam/libm"]

[dependencies]
glam = { version = "0.32.0", default-features = false, features = ["nostd-libm"] }
glam = { version = "0.32.1", default-features = false, features = ["nostd-libm"] }
```

### Optional features
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ and benchmarks.
The minimum supported Rust version is `1.68.2`.

*/
#![doc(html_root_url = "https://docs.rs/glam/0.32.0")]
#![doc(html_root_url = "https://docs.rs/glam/0.32.1")]
#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(target_arch = "spirv", feature(repr_simd))]
#![cfg_attr(target_arch = "wasm64", feature(simd_wasm64))]
Expand Down