zmath ~master (2021-07-15T08:21:03Z)
Home
Dub
Repo
Quaternion.opBinary
zmath
quaternion
Quaternion
Define binary operator + and -
Quaternion
opBinary
(Quaternion rhs)
struct
Quaternion
(T = floatt)
nothrow @
nogc
pure const
Quaternion
opBinary
(
string
op
)
(
auto
ref
const
Quaternion
rhs
)
if
(
op
== "+" ||
op
== "-"
)
if
(
__traits(
isFloating
,
T
)
)
Quaternion
opBinary
(T rhs)
Quaternion
opBinary
(Quaternion rhs)
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 binary operator + and -