bevy/examples/gizmos
Pablo Reinhardt 6b0e3fa572
Add double end arrow to gizmos (#11890)
# Objective

- Implement double ended arrows, suggestion of #9400

## Solution

- Creation of new field and method to the `ArrowBuilder`

---

## Changelog

### Added
- New field `ArrowBuilder::double_ended`
- New method `ArrowBuilder::with_double_end` to redefine the
double_ended field

## Additional

I added this in the 3d_gizmos example, that's the result:


![image](https://github.com/bevyengine/bevy/assets/126117294/2f8a93eb-4952-401a-b600-b1454cf898a9)

I added this arrow in the 2d_gizmos example too:


![image](https://github.com/bevyengine/bevy/assets/126117294/c46b4871-8acf-4711-9ca8-c2df36c0464b)

---------

Co-authored-by: Afonso Lage <lage.afonso@gmail.com>
Co-authored-by: Pablo Reinhardt <pabloreinhardt@gmail.com>
2024-04-16 01:34:22 +00:00
..
2d_gizmos.rs Add double end arrow to gizmos (#11890) 2024-04-16 01:34:22 +00:00
3d_gizmos.rs Add double end arrow to gizmos (#11890) 2024-04-16 01:34:22 +00:00
axes.rs Adding explanation to seeded rng used in examples (#12593) 2024-03-26 19:40:18 +00:00
light_gizmos.rs Remove redundant imports (#12817) 2024-04-01 19:59:08 +00:00