bevy/crates
Lynn d7f2e431e5
Implement Measured2d for Arc2d-based primitives. (#16213)
# Objective

- `CircularSegment` and `CircularSector` are well defined 2D shapes with
both an area and a perimeter.

# Solution

- This PR implements `perimeter` for both and moves the existsing `area`
functions into the `Measured2d` implementations.

## Testing

- The `arc_tests` have been extended to also check for perimeters.
2024-11-05 22:31:36 +01:00
..
bevy_a11y Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_animation Undeprecate is_playing_animation (#16121) 2024-11-05 22:27:28 +01:00
bevy_app Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_asset Update notify-debouncer-full requirement from 0.3.1 to 0.4.0 (#16133) 2024-11-05 22:28:18 +01:00
bevy_audio Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_color Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_core Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_core_pipeline Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_derive Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_dev_tools Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_diagnostic Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_dylib Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_ecs ReflectBundle::remove improvement (#16139) 2024-11-05 22:31:34 +01:00
bevy_encase_derive Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_gilrs Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_gizmos Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_gltf Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_hierarchy Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_image Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_input Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_internal Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_log Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_macro_utils Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_math Implement Measured2d for Arc2d-based primitives. (#16213) 2024-11-05 22:31:36 +01:00
bevy_mesh Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_mikktspace Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_pbr Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_picking Add button_just_down and button_just_up methods to PointerInput (#16176) 2024-11-05 22:31:35 +01:00
bevy_ptr Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_reflect Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_remote Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_render Fix and improve MSAA documentation (#16196) 2024-11-05 22:31:35 +01:00
bevy_scene Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_sprite Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_state Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_tasks Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_text Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_time Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_transform Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_ui Remove the Globals binding from the box shadow shader (#16177) 2024-11-05 22:31:35 +01:00
bevy_utils Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_window Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_winit Correctly feature gate custom_cursor (#16093) 2024-11-05 22:31:36 +01:00