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)
pure @
safe
@
nogc
nothrow
Mat2x3
!(
CommonType
!(
X
,
Y
))
affineScale
(
X
Y
)
(
in
X
x
,
in
Y
y
)
if
(
allSatisfy
!(
isNumeric
,
X
,
Y
)
)
auto
affineScale
(V 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.