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