Function cgl_rs::graphics::widgets::add_vertex_pt
source · pub fn add_vertex_pt(position: Vector3, tex_coord: Vector2)
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
- AVector2
representing the texture coordinate of the vertex.