Skip to main content

triangle_centroid

Function triangle_centroid 

Source
pub fn triangle_centroid(v0: [f64; 3], v1: [f64; 3], v2: [f64; 3]) -> [f64; 3]
Expand description

Compute the centroid of a triangle.