inmath ~master (2022-05-26T00:17:45.8140456)
Dub
Repo
Quaternion.identity
inmath
linalg
Quaternion
Returns an identity quaternion (w=1, x=0, y=0, z=0).
struct
Quaternion
(type)
@
safe
pure nothrow static
Quaternion
identity
(
)
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
Returns an identity quaternion (w=1, x=0, y=0, z=0).