You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-19 23:16:20 +00:00
Move to Renderer V2
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
import { Point } from 'pixi.js';
|
||||
|
||||
export class PointMath
|
||||
{
|
||||
public static sum(k: Point, _arg_2: Point): Point
|
||||
{
|
||||
return new Point((k.x + _arg_2.x), (k.y + _arg_2.y));
|
||||
}
|
||||
|
||||
public static sub(k: Point, _arg_2: Point): Point
|
||||
{
|
||||
return new Point((k.x - _arg_2.x), (k.y - _arg_2.y));
|
||||
}
|
||||
|
||||
public static mul(k: Point, _arg_2: number): Point
|
||||
{
|
||||
return new Point((k.x * _arg_2), (k.y * _arg_2));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user