pub fn add_vertex_p3ft2f(
    pos_x: f32,
    pos_y: f32,
    pos_z: f32,
    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

  • pos_x - A f32 representing the x-coordinate of the position of the vertex.
  • pos_y - A f32 representing the y-coordinate of the position of the vertex.
  • pos_z - A f32 representing the z-coordinate of the position of the vertex.
  • tex_coord_x - A f32 representing the x-coordinate of the texture coordinate of the vertex.
  • tex_coord_y - A f32 representing the y-coordinate of the texture coordinate of the vertex.