inmath ~master (2022-05-26T00:17:45.8140456)
Dub
Repo
Quaternion.eulerRotation
inmath
linalg
Quaternion
Creates a quaternion from an euler rotation.
struct
Quaternion
(type)
@
safe
pure nothrow static
Quaternion
eulerRotation
(
real
roll
,
real
pitch
,
real
yaw
)
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
Creates a quaternion from an euler rotation.