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 cbe987f

Browse filesBrowse files
Added glam 0.21 update. (rust-gamedev#1075)
Co-authored-by: Joe Clay <27cupsofcoffee@gmail.com>
1 parent 2877182 commit cbe987f
Copy full SHA for cbe987f

File tree

1 file changed

+19
-0
lines changed
Filter options

1 file changed

+19
-0
lines changed

‎content/news/035/index.md

Copy file name to clipboardExpand all lines: content/news/035/index.md
+19Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,25 @@ cleaner and smaller code.
271271
[ezinput]: https://crates.io/crates/ezinput/versions
272272
[ezinput_creator]: https://github.com/eexsty
273273

274+
### [glam] v0.21
275+
276+
[glam] is a simple and fast linear algebra crate for games and graphics.
277+
278+
This month version 0.21 of glam was released. Because glam is not a generic
279+
library, when support was added for `f64`, `i32` and `u32` types back in glam
280+
0.12, macros were used internally to avoid a lot of code duplication. This
281+
unfortunately obfuscated the internals of glam for anyone who needed to view the
282+
source.
283+
284+
As of the 0.21 release the majority of glam code is now generated using an
285+
offline tool and committed to the repo. The macros that were used to define
286+
glam's internal implementation are gone. This means what users see when reading
287+
docs or stepping through glam in the debugger is plain old Rust code. Many
288+
functions have also been made `const fn` removing the need for macros to create
289+
`const` values.
290+
291+
[glam]: https://github.com/bitshifter/glam-rs
292+
274293
## Popular Workgroup Issues in Github
275294

276295
<!-- 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.