liberty-engine ~master (2019-02-13T12:42:06Z)
Dub
Repo
Sphere.area
liberty
math
shapes
Sphere
Returns circle area.
struct
Sphere
(T, int N)
const
static if
(
isFloatingPoint!T
)
static if
(
N == 2
)
T
area
(
)
if
(
N
== 2 ||
N
== 3
)
Meta
Source
See Implementation
liberty
math
shapes
Sphere
aliases
PointType
constructors
this
functions
area
contains
distanceTo
intersects
squaredDistanceTo
variables
center
radius
Returns circle area.