UNPKG

@phaserjs/phaser

Version:
12 lines (11 loc) 305 B
/** * @author Richard Davey <rich@photonstorm.com> * @copyright 2020 Photon Storm Ltd. * @license {@link https://opensource.org/licenses/MIT|MIT License} */ export function ReverseRows(matrix) { for (let i = 0; i < matrix.length; i++) { matrix[i].reverse(); } return matrix; }