computeSignedVolume

Calculates a signed volume of a tetrahedron which is composed of the given points.

T
computeSignedVolume
(
T
)
(
const Vector!(T, 3)[4] positions...
)

Parameters

positions Vector!(T, 3)[4]

array of position vectors which compose a tetrahedron

Return Value

Type: T

signed volume of tetrahedron

Meta