mirror of
https://github.com/bevyengine/bevy
synced 2025-02-16 14:08:32 +00:00
# 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 |
||
---|---|---|
.. | ||
primitives | ||
aabb.rs | ||
arcs.rs | ||
arrows.rs | ||
circles.rs | ||
config.rs | ||
cross.rs | ||
gizmos.rs | ||
grid.rs | ||
lib.rs | ||
light.rs | ||
line_joints.wgsl | ||
lines.wgsl | ||
pipeline_2d.rs | ||
pipeline_3d.rs | ||
rounded_box.rs |