dlsl ~master (2022-04-13T07:10:34.3128445)
Dub
Repo
Quaternion.rotation
dlsl
quaternion
Quaternion
Returns a vector with applied rotation around an axis.
Quaternion
rotation
(real angle, Vector!(valueType, 3) axis)
struct
Quaternion
(type)
nothrow @
nogc
pure nothrow @
nogc
pure nothrow @
nogc
@
safe
static
Quaternion
rotation
(
real
angle
,
Vector
!(
valueType
, 3)
axis
)
Quaternion
rotation
(real roll, real pitch, real yaw)
Meta
Source
See Implementation
dlsl
quaternion
Quaternion
aliases
valueType
constructors
this
functions
opBinary
opBinaryRight
opCast
opCmp
opEquals
opOpAssign
ptr
rotate
rotateX
rotateY
rotateZ
toString
properties
identity
static functions
rotation
rotationX
rotationY
rotationZ
variables
vector
Returns a vector with applied rotation around an axis.