gfx ~master (2021-03-28T16:54:18Z)
Dub
Repo
scale
gfx
math
transform
Build a scale matrix.
Mat3
!(
CommonType
!(
X
,
Y
))
scale
(X x, Y y)
pure @
safe
@
nogc
nothrow
Mat3
!(
CommonType
!(
X
,
Y
))
scale
(
X
Y
)
(
in
X
x
,
in
Y
y
)
if
(
allSatisfy
!(
isNumeric
,
X
,
Y
)
)
auto
scale
(V v)
Mat4
!(
CommonType
!(
X
,
Y
,
Z
))
scale
(X x, Y y, Z z)
auto
scale
(V v)
M
scale
(M m, X x, Y y)
M
scale
(M m, X x, Y y)
M
scale
(M m, V v)
M
scale
(M m, X x, Y y, Z z)
M
scale
(M m, X x, Y y, Z z)
M
scale
(M m, V v)
Mat2x3
!(
CommonType
!(
X
,
Y
))
affineScale
(X x, Y y)
auto
affineScale
(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.