Graphmath.Mat33.make_scale
You're seeing just the function
make_scale
, go back to Graphmath.Mat33 module for more information.
Link to this function
make_scale(k)
Specs
make_scale( k )
creates a mat33
that uniformly scales.
k
is the float value to scale by.
This returns a mat33
whose diagonal is all k
s.
Link to this function
make_scale(sx, sy, sz)
Specs
make_scale( sx, sy, sz )
creates a mat33
that scales each axis independently.
sx
is a float for scaling the x-axis.
sy
is a float for scaling the y-axis.
sz
is a float for scaling the z-axis.
This returns a mat33
whose diagonal is { sx, sy, sz }
.
Note that, when used with vec2
s via the transform methods, sz
will have no effect.