zmath ~master (2021-07-15T08:21:03Z)
Home
Dub
Repo
Quaternion.opUnary
zmath
quaternion
Quaternion
Define unary operators + and -
struct
Quaternion
(T = floatt)
nothrow @
nogc
pure const
Quaternion
opUnary
(
string
op
)
(
)
if
(
op
== "+" ||
op
== "-"
)
if
(
__traits(
isFloating
,
T
)
)
Meta
Source
See Implementation
zmath
quaternion
Quaternion
constructors
this
functions
approxEqual
conj
normalize
opBinary
opCast
opEquals
opIndex
opIndexAssign
opUnary
rotate
toAxisAngle
toEuler
toString
properties
isUnit
length
sq_length
static variables
dim
unions
__anonymous
Define unary operators + and -