bevy/crates/bevy_math
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
..
images/easefunction Add ways to configure EasingFunction::Steps via new StepConfig (#17752) 2025-02-11 22:19:01 +00:00
src Rhombus sampling (#20082) 2025-07-14 21:05:42 +00:00
Cargo.toml consistently dont use smallvec default features (#19972) 2025-07-06 04:25:26 +00:00
clippy.toml Add no_std compatible ceil method (#18498) 2025-03-25 04:18:00 +00:00
LICENSE-APACHE Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
LICENSE-MIT Cleanup publish process (#17728) 2025-02-09 17:46:19 +00:00
README.md Add README.md to all crates (#13184) 2024-05-02 18:56:00 +00:00

Bevy Math

License Crates.io Downloads Docs Discord