Skip to content

N16: glam #399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 7, 2020
Merged
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
22 changes: 22 additions & 0 deletions content/posts/newsletter-016/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,28 @@ build and release a [bevy] game to itch.io for Linux, macOS, Windows and WASM.
[bevy]: https://bevyengine.org
[tract]: https://github.com/sonos/tract

### [glam]

[glam] is a simple and fast linear algebra crate for games and graphics.

This month version 0.11.2 was released. There were a number of important changes
since the last newsletter.

The vector accessor methods for setting and getting individual vector elements
were replaced with direct access support. This means that now instead of needing
to use `.x()`, `.set_x(x)` or `.mut_x() = x` the element may be accessed
directly via `.x = x` and so on.

The reason that this was not done originally was that some types are backed by
SIMD types which do not support direct access. For these types direct access is
now supported with `Deref` and `DerefMut` implementations.

The direct access support was added in version 0.10.1 along side the accessor
methods. The accessor methods were deprecated in 0.10.2 and have been removed
in 0.11.0.

[glam]: https://github.com/bitshifter/glam-rs

## Popular Workgroup Issues in Github

<!-- Up to 10 links to interesting issues -->
Expand Down