Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9a4dc9b

Browse filesBrowse files
authored
N16: glam (rust-gamedev#399)
1 parent acaf93c commit 9a4dc9b
Copy full SHA for 9a4dc9b

File tree

1 file changed

+22
-0
lines changed
Filter options

1 file changed

+22
-0
lines changed

‎content/posts/newsletter-016/index.md

Copy file name to clipboardExpand all lines: content/posts/newsletter-016/index.md
+22Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,28 @@ build and release a [bevy] game to itch.io for Linux, macOS, Windows and WASM.
805805
[bevy]: https://bevyengine.org
806806
[tract]: https://github.com/sonos/tract
807807

808+
### [glam]
809+
810+
[glam] is a simple and fast linear algebra crate for games and graphics.
811+
812+
This month version 0.11.2 was released. There were a number of important changes
813+
since the last newsletter.
814+
815+
The vector accessor methods for setting and getting individual vector elements
816+
were replaced with direct access support. This means that now instead of needing
817+
to use `.x()`, `.set_x(x)` or `.mut_x() = x` the element may be accessed
818+
directly via `.x = x` and so on.
819+
820+
The reason that this was not done originally was that some types are backed by
821+
SIMD types which do not support direct access. For these types direct access is
822+
now supported with `Deref` and `DerefMut` implementations.
823+
824+
The direct access support was added in version 0.10.1 along side the accessor
825+
methods. The accessor methods were deprecated in 0.10.2 and have been removed
826+
in 0.11.0.
827+
828+
[glam]: https://github.com/bitshifter/glam-rs
829+
808830
## Popular Workgroup Issues in Github
809831

810832
<!-- Up to 10 links to interesting issues -->

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.