UNPKG

@phaserjs/phaser

Version:
5 lines (4 loc) 126 B
import { Vec2 } from "./Vec2"; export function Vec2Divide(a, b, out = new Vec2()) { return out.set(a.x / b.x, a.y / b.y); }