gfm ~master (2021-03-12T16:19:32Z)
Home
Dub
Repo
Sphere.this
gfm
math
shapes
Sphere
Creates a sphere from a point and a radius.
struct
Sphere
(T, int N)
nothrow @
nogc
pure nothrow
this
(
in
point_t
center_
,
T
radius_
)
Meta
Source
See Implementation
gfm
math
shapes
Sphere
aliases
point_t
constructors
this
functions
area
contains
distanceTo
intersects
squaredDistanceTo
variables
center
radius
Creates a sphere from a point and a radius.