gfm ~master (2022-03-03T14:56:56.0177725)
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.