ncollide3d::procedural

Function quad_with_vertices

Source
pub fn quad_with_vertices<N: RealField + Copy>(
    vertices: &[Point<N>],
    nhpoints: usize,
    nvpoints: usize,
) -> TriMesh<N>
Expand description

Adds a double-sided quad with the specified grid of vertices.

Normals are automatically computed.

ยงArguments

  • nhpoints - number of columns on the grid.
  • nvpoints - number of lines on the grid.