Function oxygengine_physics_2d::prelude::ncollide2d::utils::triangle_center
source · pub fn triangle_center<N>(
pa: &OPoint<N, Const<2>>,
pb: &OPoint<N, Const<2>>,
pc: &OPoint<N, Const<2>>
) -> OPoint<N, Const<2>>where
N: RealField + Copy,
Expand description
Computes the center of a triangle.