Function cgl_rs::graphics::widgets::add_vertex_pt2f
source · pub fn add_vertex_pt2f(position: Vector3, tex_coord_x: f32, tex_coord_y: f32)
Expand description
Adds a vertex with the given position and texture coordinate to the current batch.
Arguments
position
- AVector3
representing the position of the vertex.tex_coord_x
- Af32
representing the x-coordinate of the texture coordinate of the vertex.tex_coord_y
- Af32
representing the y-coordinate of the texture coordinate of the vertex.