bevy/crates/bevy_math
NiseVoid 524dce7505
Use a well defined type for sides in RegularPolygon (#13837)
# Objective

- Primitives should not use poorly defined types like `usize`,
especially since they are serializable

## Solution

- Use `u32` instead of `usize`
- The generic array types do not need to be changed because this size is
not actually stored or serialized anywhere

---

## Migration Guide

- `RegularPolygon` now uses `u32` instead of `usize` for the number of
sides
2024-06-19 15:43:40 +00:00
..
src Use a well defined type for sides in RegularPolygon (#13837) 2024-06-19 15:43:40 +00:00
Cargo.toml Implemented Reflect for (almost) all bevy_math types (#13537) 2024-05-27 18:18:10 +00:00
README.md Add README.md to all crates (#13184) 2024-05-02 18:56:00 +00:00

Bevy Math

License Crates.io Downloads Docs Discord