Module bevy::prelude::shape

Expand description

Generation for some primitive shape meshes.

Structs

  • An axis-aligned box defined by its minimum and maximum point.
  • A cylinder with hemispheres at the top and bottom
  • A circle in the XY plane
  • A cylinder which stands on the XZ plane
  • A sphere made from a subdivided Icosahedron.
  • A square on the XZ plane centered at the origin.
  • A rectangle on the XY plane centered at the origin.
  • A regular polygon in the XY plane
  • A torus (donut) shape.
  • A sphere made of sectors and stacks.

Enums