[][src]Function ncollide3d::procedural::quad_with_vertices

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

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.