ncollide3d::procedural::utils

Function compute_normals

Source
pub fn compute_normals<N: RealField + Copy>(
    coordinates: &[Point<N>],
    faces: &[Point<u32>],
    normals: &mut Vec<Vector<N>>,
)
Expand description

Computes the normals of a set of vertices.