A simple triangle collider.
Constructor
Variables
Methods
inlinegetArea():Float
Calculates and returns the triangle area.
Result is cached between getArea
and getInvArea
on first call and altering a
, b
, or c
afterwards will lead to incorrect value.
inlinegetInvArea():Float
Calculates and returns the triangle area inverse.
Result is cached between getArea
and getInvArea
on first call and altering a
, b
, or c
afterwards will lead to incorrect value.