Skip to content
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

Added glam 0.21 update. #1075

Merged
merged 3 commits into from
Jul 2, 2022
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
19 changes: 19 additions & 0 deletions content/news/035/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,25 @@ cleaner and smaller code.
[ezinput]: https://crates.io/crates/ezinput/versions
[ezinput_creator]: https://github.com/eexsty

### [glam] v0.21

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

This month version 0.21 of glam was released. Because glam is not a generic
library, when support was added for `f64`, `i32` and `u32` types back in glam
0.12, macros were used internally to avoid a lot of code duplication. This
unfortunately obfuscated the internals of glam for anyone who needed to view the
source.

As of the 0.21 release the majority of glam code is now generated using an
offline tool and committed to the repo. The macros that were used to define
glam's internal implementation are gone. This means what users see when reading
docs or stepping through glam in the debugger is plain old Rust code. Many
functions have also been made `const fn` removing the need for macros to create
`const` values.

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

## Popular Workgroup Issues in Github

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