Search code examples
bevy

Bevy How to Render Triangle (or Polygon) in 2D


In the bevy examples breakout only uses rectangles, there are examples of loading sprites, there is an example of loading a 3d mesh. In 2d I'd like to draw a triangle (or other polygons), but I haven't been able to figure it out through the docs.


Solution

  • Currently there is no support for 'drawing' in 2D. This is being looked at, but is not there yet.