linearly v0.32.0Docs


linearly v0.32.0 / mat2 / rs

Function: rs()

rs(r, s): number[]

Alias for fromRotScale

Parameters

r: null | number = null

Rotation angle in degrees

s: null | vec2 = null

Scaling vector

Returns

number[]

The matrix that represents the transformation

Defined in

src/mat2.ts:301open in new window