inmath ~master (2022-05-26T00:17:45.8140456)
Dub
Repo
Quaternion.opBinary
inmath
linalg
Quaternion
Undocumented in source. Be warned that the author may not have intended to support it.
Quaternion
opBinary
(Quaternion inp)
Quaternion
opBinary
(Quaternion inp)
struct
Quaternion
(type)
@
safe
pure nothrow const
Quaternion
opBinary
(
string
op
)
(
Quaternion
inp
)
if
(
(
op
== "+"
)
||
(
op
== "-"
)
)
Vector
!(
qt
,
3
)
opBinary
(Vector!(qt, 3) inp)
Quaternion
opBinary
(qt inp)
Meta
Source
See Implementation
inmath
linalg
Quaternion
aliases
conjugate
conjugated
ok
qt
w
x
y
z
constructors
this
functions
get_
inverse
invert
isFinite
magnitude
magnitudeSquared
makeIdentity
normalize
normalized
opBinary
opBinaryRight
opCmp
opEquals
opOpAssign
pitch
ptr
roll
rotateAxis
rotateEuler
rotateX
rotateY
rotateZ
set_
toAxisAngle
toHash
toMatrix
toString
yaw
static functions
axisRotation
eulerRotation
fromMatrix
identity
lookRotation
xRotation
yRotation
zRotation
templates
coordToIndex
variables
quaternion