mirror of
https://github.com/bevyengine/bevy
synced 2024-11-21 20:23:28 +00:00
6b34e81f00
# Objective - Showcase how to use a `Material` and `Mesh` to spawn 3d lines ![image](https://user-images.githubusercontent.com/8348954/179034236-ebc07f90-3eb5-46cc-8fc1-be7e6bf983fb.png) ## Solution - Add an example using a simple `Material` and `Mesh` definition to draw a 3d line - Shows how to use `LineList` and `LineStrip` in combination with a specialized `Material` ## Notes This isn't just a primitive shape because it needs a special Material, but I think it's a good showcase of the power of the `Material` and `AsBindGroup` abstractions. All of this is easy to figure out when you know these options are a thing, but I think they are hard to discover which is why I think this should be an example and not shipped with bevy. Co-authored-by: Charles <IceSentry@users.noreply.github.com> |
||
---|---|---|
.. | ||
android-res/mipmap-mdpi | ||
branding | ||
data | ||
fonts | ||
models | ||
scenes | ||
shaders | ||
sounds | ||
textures |