zmath ~master (2021-07-15T08:21:03Z)
Home
Dub
Repo
scaleMat
zmath
math3d
Creates a uniform 3d scale matrix
M
scaleMat
(T s)
@
nogc
pure nothrow
M
scaleMat
(
M
=
Mat4f
T
=
float
)
(
T
s
)
if
(
is4dMat
!
M
&&
is
(
T
:
real
)
)
M
scaleMat
(T x, T y, T z)
M
scaleMat
(V v)
Parameters
s
T
scale factor Returns a scale matrix
Meta
Source
See Implementation
zmath
math3d
functions
lookAt
orthoMat
perspectiveMat
rotMat
scaleMat
translateMat
templates
is4dMat
Creates a uniform 3d scale matrix