Function cgl_rs::graphics::widgets::add_quad_8f
source · 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
- Af32
representing the x-coordinate of the first vertex of the quad.ay
- Af32
representing the y-coordinate of the first vertex of the quad.bx
- Af32
representing the x-coordinate of the second vertex of the quad.by
- Af32
representing the y-coordinate of the second vertex of the quad.cx
- Af32
representing the x-coordinate of the third vertex of the quad.cy
- Af32
representing the y-coordinate of the third vertex of the quad.dx
- Af32
representing the x-coordinate of the fourth vertex of the quad.dy
- Af32
representing the y-coordinate of the fourth vertex of the quad.