Function cgl_rs::graphics::widgets::add_quad

source ·
pub fn add_quad(a: Vector3, b: Vector3, c: Vector3, d: Vector3)
Expand description

Adds a quad to the current frame.

Arguments

  • a - A Vector3 representing the first vertex of the quad.
  • b - A Vector3 representing the second vertex of the quad.
  • c - A Vector3 representing the third vertex of the quad.
  • d - A Vector3 representing the fourth vertex of the quad.