Add debug wireframe rendering for Aabb, Frustum, and Sphere
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## What problem does this solve or what need does it fill?
Debugging intersections for the primitives currently used for culling for rendering is difficult without visualisation.
## What solution would you like?
Add debug wireframe rendering for Aabb, Frustum, and Sphere. Mesh types exist for all but Frustum so those should probably be reused, and then there will need to be a way to differentiate debug meshes and general meshes so that it doesn’t create a feedback loop of a mesh having an Aabb, with a debug mesh for the Aabb that itself gets an Aabb that gets a debug mesh…
## What alternative(s) have you considered?
None yet. Just noting that this would be good to do.
## Additional context
@aevyrie ’s bevy_mod_bounding has support for this already and there’s the primitive shapes RFC.
Contributor guide
Assessment
This issue has not been assessed yet.