gfm v6.2.8 (2017-06-07T21:06:48Z)
Home
Dub
Repo
Quaternion.opCast
gfm
math
quaternion
Quaternion
Converts a to a 4x4 rotation matrix.
U
opCast
()
U
opCast
()
struct
Quaternion
(T)
@
nogc
pure const nothrow
U
opCast
(
U
)
(
)
if
(
isMatrixInstantiation
!
U
&&
is
(
U._T
:
_T
)
&&
(
U._R
== 4
)
&&
(
U._C
== 4
)
)
Bugs
check why we can't do is(Unqual!U == mat4!T)
Meta
Source
See Implementation
gfm
math
quaternion
Quaternion
constructors
this
functions
inverse
inversed
normalize
normalized
opAssign
opBinary
opCast
opEquals
opOpAssign
toEulerAngles
toString
static functions
fromAxis
fromEulerAngles
identity
unions
__anonymous
Converts a to a 4x4 rotation matrix.