bevy/crates/bevy_math/src/sampling
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
..
mesh_sampling.rs Add no_std Support to bevy_math (#15810) 2024-12-03 17:14:51 +00:00
mod.rs Add no_std Support to bevy_math (#15810) 2024-12-03 17:14:51 +00:00
shape_sampling.rs Rhombus sampling (#20082) 2025-07-14 21:05:42 +00:00
standard.rs Upgrade to Rust Edition 2024 (#17967) 2025-02-24 03:54:47 +00:00