Skip to content

Commit 0f18418

Browse files
committed
N16: glam: Move section up
1 parent 9a4dc9b commit 0f18418

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

content/posts/newsletter-016/index.md

+22-22
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,28 @@ highly performant 2D graphics.
512512

513513
[terramach]: https://github.com/lykhonis/terramach
514514

515+
### [glam]
516+
517+
[glam] is a simple and fast linear algebra crate for games and graphics.
518+
519+
This month version 0.11.2 was released. There were a number of important changes
520+
since the last newsletter.
521+
522+
The vector accessor methods for setting and getting individual vector elements
523+
were replaced with direct access support. This means that now instead of needing
524+
to use `.x()`, `.set_x(x)` or `.mut_x() = x` the element may be accessed
525+
directly via `.x = x` and so on.
526+
527+
The reason that this was not done originally was that some types are backed by
528+
SIMD types which do not support direct access. For these types direct access is
529+
now supported with `Deref` and `DerefMut` implementations.
530+
531+
The direct access support was added in version 0.10.1 along side the accessor
532+
methods. The accessor methods were deprecated in 0.10.2 and have been removed
533+
in 0.11.0.
534+
535+
[glam]: https://github.com/bitshifter/glam-rs
536+
515537
### [rib]
516538

517539
![rib](rib.gif)
@@ -805,28 +827,6 @@ build and release a [bevy] game to itch.io for Linux, macOS, Windows and WASM.
805827
[bevy]: https://bevyengine.org
806828
[tract]: https://github.com/sonos/tract
807829

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-
830830
## Popular Workgroup Issues in Github
831831

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

0 commit comments

Comments
 (0)