bevyengine / bevyengine/bevy

GizmoPrimitiveNd for external primitives

Open
#13,615 0 comments 0 reactions 0 assignees View on GitHub
A-Gizmos A-Math C-Feature C-Usability
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?

The current definition for `GizmoPrimitive2d` and `GizmoPrimitive3d` do not allow implementing gizmos for primitives outside of `bevy_gizmos` since both `GizmoPrimitiveNd` and `Gizmos` are defined in `bevy_gizmos` and implementing `GizmoPrimitiveNd` for `Gizmos` outside `bevy_gizmos` would violate coherency.

This is annoying when trying to implement gizmos for custom primitives in games since you basically have to replicate the `GizmoPrimitiveNd` trait in your own project.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.