@phaserjs/phaser
Version:
10 lines (9 loc) • 350 B
JavaScript
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2020 Photon Storm Ltd.
* @license {@link https://opensource.org/licenses/MIT|MIT License}
*/
import { RotateLineAround } from "./RotateLineAround";
export function RotateLineAroundPoint(line, point, angle) {
return RotateLineAround(line, point.x, point.y, angle);
}