message: adds rounded rectangles
diff: @@ -304,6 +304,35 @@ impl MeshBuilder {
  Ok(self)
  }
  + /// Create a new mesh for a rectangle.
  + pub fn rounded_rectangle(
  + &mut self,
  + mode: DrawMode,
  + bounds: Rect,
  + radius: f32,
  + color: Color,
  + ) -> GameResult<&mut Self> {
  + {
  + let buffers = &mut self.buffer;
  + let rect = t::math::rect(bounds.x, bounds.y, bounds.w, bounds.h);
  + let radii = t::basic_shapes::BorderRadii::new_all_same(radius);
  + let vb = VertexBuilder {
  + color: LinearColor::from(color),
  + };
  + match mode {
  + DrawMode::Fill(fill_options) => {
  + let builder = &mut t::BuffersBuilder::new(buffers, vb);
  + let _ = t::basic_shapes::fill_rounded_rectangle(&rect, &radii, &fill_options, builder);
  + }
  + DrawMode::Stroke(options) => {
  + let builder = &mut t::BuffersBuilder::new(buffers, vb);
  + let _ = t::basic_shapes::stroke_rounded_rectangle(&rect, &radii, &options, builder);
  + }
  + };
  + }
  + Ok(self)
  + }
  +
  /// Create a new [`Mesh`](struct.Mesh.html) from a raw list of triangles.
  /// The length of the list must be a multiple of 3.
  ///
  