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 - A Vector3 representing the position of the vertex.
  • tex_coord - A Vector2 representing the texture coordinate of the vertex.