bevy/crates/bevy_gizmos/src
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
..
primitives Use a well defined type for sides in RegularPolygon (#13837) 2024-06-19 15:43:40 +00:00
aabb.rs Migrate from LegacyColor to bevy_color::Color (#12163) 2024-02-29 19:35:12 +00:00
arcs.rs Fix lints introduced in Rust beta 1.80 (#13899) 2024-06-17 17:22:01 +00:00
arrows.rs Add axes_2d gizmo. (#12334) 2024-06-04 00:02:38 +00:00
circles.rs More gizmos builders (#13261) 2024-06-03 16:10:14 +00:00
config.rs #12502 Remove limit on RenderLayers. (#13317) 2024-05-16 16:15:47 +00:00
cross.rs Add cross gizmos (#13883) 2024-06-17 15:45:32 +00:00
gizmos.rs Rename Rotation2d to Rot2 (#13694) 2024-06-05 21:51:13 +00:00
grid.rs Add cross gizmos (#13883) 2024-06-17 15:45:32 +00:00
lib.rs Add cross gizmos (#13883) 2024-06-17 15:45:32 +00:00
light.rs Make gizmos take primitives by ref (#13534) 2024-05-27 13:48:47 +00:00
line_joints.wgsl Normalise matrix naming (#13489) 2024-06-03 16:56:53 +00:00
lines.wgsl view.inverse_clip_from_world should be world_from_clip (#13756) 2024-06-09 14:40:14 +00:00
pipeline_2d.rs Make render phases render world resources instead of components. (#13277) 2024-05-21 18:23:04 +00:00
pipeline_3d.rs Make render phases render world resources instead of components. (#13277) 2024-05-21 18:23:04 +00:00
rounded_box.rs Fix lints introduced in Rust beta 1.80 (#13899) 2024-06-17 17:22:01 +00:00