# Matrix.S

Vec3 scale | How much larger or smaller this transform makes things. Vec3.One is a good default, as Vec3.Zero will shrink it to nothing! |

RETURNS: Matrix | A non-uniform scaling matrix. |

Creates a scaling Matrix, where scale can be different on each axis (non-uniform).

static Matrix S(float scale)

float scale | How much larger or smaller this transform makes things. 1 is a good default, as 0 will shrink it to nothing! This will expand to a scale vector of (size, size, size) |

RETURNS: Matrix | A uniform scaling matrix. |

Creates a scaling Matrix, where the scale is the same on each axis (uniform).

Found an issue with these docs, or have some additional questions? Create an Issue on Github!