# Matrix.S

```
static Matrix S(Vec3 scale)
```

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

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

```
static Matrix S(float scale)
```

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

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

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