bevy/docs
Ame bb63ad7fab
Re-export glam_assert feature (#8232)
# Objective

- Allow the use of the "glam _assert" feature to help catch runtime
errors and validate the arguments passed to glam.

e.g.
```rs
// Will panic if self is zero length when glam_assert is enabled.
    pub fn normalize(self) -> Self {
        let normalized = self.mul(self.length_recip());
        glam_assert!(normalized.is_finite());
        normalized
    }
```

## Solution

- Re-export the optional feature glam_assert

---

## Changelog

Added: Optional feature "glam_assert"
2023-03-28 20:18:50 +00:00
..
cargo_features.md Re-export glam_assert feature (#8232) 2023-03-28 20:18:50 +00:00
debugging.md Useful changes with relicensing benefits (#2497) 2021-07-17 21:59:31 +00:00
linters.md GitHub Action: Check local Markdown links on push (#2067) 2021-05-02 20:22:32 +00:00
linux_dependencies.md Add setup documentation for Alpine Linux (#7752) 2023-02-20 04:31:49 +00:00
plugins_guidelines.md Remove last mentions of Stages (#7553) 2023-02-07 18:07:57 +00:00
profiling.md Process 1 in Chrome tracing starts expanded (#8024) 2023-03-11 03:04:41 +00:00
release_checklist.md Fix release workflow (#4903) 2022-06-06 15:47:51 +00:00
the_bevy_organization.md remove bors and small CI improvements (#7947) 2023-03-07 21:42:53 +00:00