bevy/crates/bevy_gizmos/src
Connor King 04ab9a0531
Move Circle Gizmos to Their Own File (#10631)
## Objective

- Give all the intuitive groups of gizmos their own file
- don't be a breaking change
- don't change Gizmos interface
- eventually do arcs too
- future types of gizmos should be in their own files
- see also https://github.com/bevyengine/bevy/issues/9400

## Solution

- Moved `gizmos.circle`, `gizmos.2d_circle`, and assorted helpers into
`circles.rs`
- Can also do arcs in this MR if y'all want; just figured I should do
one thing at a time.

## Changelog

- Changed
  - `gizmos::CircleBuilder` moved to `gizmos::circles::Circle2dBuilder`
- `gizmos::Circle2dBuilder` moved to `gizmos::circles::Circle2dBuilder`

## Migration Guide

- change `gizmos::CircleBuilder` to `gizmos::circles::Circle2dBuilder`
- change `gizmos::Circle2dBuilder` to `gizmos::circles::Circle2dBuilder`

---------

Co-authored-by: François <mockersf@gmail.com>
2023-11-20 09:47:50 +00:00
..
arrows.rs Move Circle Gizmos to Their Own File (#10631) 2023-11-20 09:47:50 +00:00
circles.rs Move Circle Gizmos to Their Own File (#10631) 2023-11-20 09:47:50 +00:00
gizmos.rs Move Circle Gizmos to Their Own File (#10631) 2023-11-20 09:47:50 +00:00
lib.rs Move Circle Gizmos to Their Own File (#10631) 2023-11-20 09:47:50 +00:00
lines.wgsl Fix float precision issue in the gizmo shader (#10408) 2023-11-14 22:36:02 +00:00
pipeline_2d.rs Automatic batching/instancing of draw commands (#9685) 2023-09-21 22:12:34 +00:00
pipeline_3d.rs Fix gizmo crash when prepass enabled (#10360) 2023-11-03 23:38:50 +00:00