openrndr
0.4.5-dev.64+2ea7a58
common
openrndr-math
/
org.openrndr.math
/
Spherical
Spherical
@
Serializable
@
JvmRecord
data
class
Spherical
(
val
theta
:
Double
,
val
phi
:
Double
,
val
radius
:
Double
)
:
LinearType
<
Spherical
>
(
source
)
Members
Constructors
Spherical
Link copied to clipboard
constructor
(
theta
:
Double
,
phi
:
Double
,
radius
:
Double
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
div
Link copied to clipboard
open
operator override
fun
div
(
scale
:
Double
)
:
Spherical
make
Safe
Link copied to clipboard
fun
makeSafe
(
)
:
Spherical
minus
Link copied to clipboard
open
operator override
fun
minus
(
right
:
Spherical
)
:
Spherical
plus
Link copied to clipboard
open
operator override
fun
plus
(
right
:
Spherical
)
:
Spherical
times
Link copied to clipboard
open
operator override
fun
times
(
scale
:
Double
)
:
Spherical
operator
fun
times
(
scale
:
Spherical
)
:
Spherical
Properties
cartesian
Link copied to clipboard
val
cartesian
:
Vector3
phi
Link copied to clipboard
val
phi
:
Double
radius
Link copied to clipboard
val
radius
:
Double
theta
Link copied to clipboard
val
theta
:
Double