liberty-engine v0.0.14-beta.2 (2018-07-02T09:50:23Z)
Dub
Repo
Sphere.area
liberty
math
shapes
Sphere
Returns circle area.
struct
Sphere
(T, int N)
pure nothrow const @
safe
@
nogc
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.