def Vec3.tri_area2
import bend-prot@0.1.0.0/geom.bend as Geomimport Base
70# Squared area of triangle (a, b, c): |cross(b-a, c-a)|^2 / 4.
71def Vec3.tri_area2(+a: Vec3, +b: Vec3, +c: Vec3) -> F32:
72 (Vec3.norm2(Vec3.cross(Vec3.sub(b, a), Vec3.sub(c, a))) / 4.0 : F32)
Uses (6)
Used by (0)
No other definition uses this definition.