Skip to main content

signed_volume

Function signed_volume 

Source
pub fn signed_volume(v1: Vec3, v2: Vec3, v3: Vec3, p: Vec3) -> f32
Expand description

Negative if p is below the triangle v1-v2-v3. (math_internal.h: b3SignedVolume)