Graphmath.Mat44.make_scale
You're seeing just the function
make_scale
, go back to Graphmath.Mat44 module for more information.
Link to this function
make_scale(k)
Specs
make_scale( k )
creates a mat44
that uniformly scales.
k
is the float value to scale by.
This returns a mat44
whose diagonal is all k
s.
Link to this function
make_scale(sx, sy, sz, sw)
Specs
make_scale( sx, sy, sz, sw )
creates a mat44
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.
sw
is a float for scaling the w-axis.
This returns a mat44
whose diagonal is { sx, sy, sz, sw }
.
Note that, when used with vec3
s via the transform methods, sw
will have no effect.