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