Graphmath.Mat33.make_scale

You're seeing just the function make_scale, go back to Graphmath.Mat33 module for more information.

Specs

make_scale(float()) :: mat33()

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 ks.

Link to this function

make_scale(sx, sy, sz)

Specs

make_scale(float(), float(), float()) :: mat33()

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 vec2s via the transform methods, sz will have no effect.