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