Function cgl_rs::graphics::widgets::add_rect

source ·
pub fn add_rect(start: Vector3, size: Vector2)
Expand description

Adds a rectangle to the current frame.

Arguments

  • start - A Vector3 representing the starting point of the rectangle.
  • size - A Vector2 representing the size of the rectangle.