gfx ~master (2021-03-28T16:54:18Z)
Dub
Repo
rotationPure
gfx
math
transform
Build a pure 3d rotation matrix with angle in radians
pure @
safe
@
nogc
nothrow
auto
rotationPure
(
T
V
)
(
in
T
angle
,
in
V
axis
)
if
(
isFloatingPoint
!
T
&&
isVec
!(3,
V
)
)
Meta
Source
See Implementation
gfx
math
transform
functions
affineMult
affineRotation
affineScale
affineTranslation
eulerAngles
rotate
rotation
rotationPure
scale
transform
translate
translation
Build a pure 3d rotation matrix with angle in radians