plate-engine - v0.1.0
Preparing search index...
rotate
Function rotate
rotate
<
T
extends
Cells
>
(
src
:
Grid
<
T
>
,
quarterTurns
:
number
)
:
Grid
<
T
>
Rotate a cell buffer clockwise by
quarterTurns
× 90°.
Type Parameters
T
extends
Cells
Parameters
src
:
Grid
<
T
>
quarterTurns
:
number
Returns
Grid
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
plate-engine - v0.1.0
Loading...
Rotate a cell buffer clockwise by
quarterTurns× 90°.