Function ncollide::procedural::quad_with_vertices
[−]
[src]
pub fn quad_with_vertices<P>(vertices: &[P],
nhpoints: usize,
nvpoints: usize)
-> TriMesh<P> where P: Point
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.