liberty-engine v0.0.14-beta.2 (2018-07-02T09:50:23Z)
Dub
Repo
Triangle.computeNormal
liberty
math
shapes
Triangle
Returns triangle normal.
struct
Triangle
(T, int N)
pure nothrow const @
safe
@
nogc
static if
(
N == 3 && isFloatingPoint!T
)
Vector
!(
T
, 3)
computeNormal
(
)
if
(
N
== 2 ||
N
== 3
)
Meta
Source
See Implementation
liberty
math
shapes
Triangle
aliases
PointType
functions
area
computeNormal
signedArea
variables
a
b
c
Returns triangle normal.