bevy/crates/bevy_math
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
..
src Add generic cubic splines to bevy_math (#7683) 2023-03-03 22:06:42 +00:00
Cargo.toml Re-export glam_assert feature (#8232) 2023-03-28 20:18:50 +00:00