pub fn add_quad_8f(
    ax: f32,
    ay: f32,
    bx: f32,
    by: f32,
    cx: f32,
    cy: f32,
    dx: f32,
    dy: f32
)
Expand description

Adds a quad to the current frame.

Arguments

  • ax - A f32 representing the x-coordinate of the first vertex of the quad.
  • ay - A f32 representing the y-coordinate of the first vertex of the quad.
  • bx - A f32 representing the x-coordinate of the second vertex of the quad.
  • by - A f32 representing the y-coordinate of the second vertex of the quad.
  • cx - A f32 representing the x-coordinate of the third vertex of the quad.
  • cy - A f32 representing the y-coordinate of the third vertex of the quad.
  • dx - A f32 representing the x-coordinate of the fourth vertex of the quad.
  • dy - A f32 representing the y-coordinate of the fourth vertex of the quad.