bevy/crates/bevy_math/src
Lynn c4407b1e03
Rhombus sampling (#20082)
# Objective

- Implement `ShapeSample for Rhombus`

## Testing

- The results can be verified visually. 

---

## Showcase
### Boundary
<img width="855" height="545" alt="image"
src="https://github.com/user-attachments/assets/0cdb16a8-f26a-4f13-a5dc-dd27e251a6d0"
/>

### Interior
<img width="736" height="512" alt="Screenshot 2025-07-11 143336"
src="https://github.com/user-attachments/assets/1ba6b2af-4d89-485a-9256-f02b4e2043a7"
/>
2025-07-14 21:05:42 +00:00
..
bounding Reduce operations in RayCast2d::circle_intersection_at using cross product (#19103) 2025-05-26 17:22:14 +00:00
cubic_splines Add newlines before impl blocks (#19746) 2025-06-22 23:07:02 +00:00
curve Add unit structs for each ease function (#18739) 2025-07-02 19:18:20 +00:00
primitives bevy_math: don't allow dead code (#20039) 2025-07-08 17:46:01 +00:00
rects bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
sampling Rhombus sampling (#20082) 2025-07-14 21:05:42 +00:00
affine3.rs
aspect_ratio.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
common_traits.rs Improve Bevy's double-precision story for third-party crates (#19194) 2025-06-08 02:02:47 +00:00
compass.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
direction.rs Implement display for direction (#19942) 2025-07-07 20:00:37 +00:00
float_ord.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
isometry.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
lib.rs bevyengine.org -> bevy.org (#19503) 2025-06-05 23:09:28 +00:00
ops.rs Upgrade to Glam 0.29.3 and Simplify Feature Gating (#18638) 2025-03-31 18:54:46 +00:00
ray.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00
rotation2d.rs bevy_reflect: Add clone registrations project-wide (#18307) 2025-03-17 18:32:35 +00:00