Skip to content

Commit 9a4dc9b

Browse files
authored
N16: glam (rust-gamedev#399)
1 parent acaf93c commit 9a4dc9b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

content/posts/newsletter-016/index.md

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy