mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-27 01:40:52 +01:00
PointMath cleanup
This commit is contained in:
parent
5693b6f558
commit
67eb04635f
@ -7,12 +7,12 @@ export class PointMath
|
|||||||
return new Point((k.x + _arg_2.x), (k.y + _arg_2.y));
|
return new Point((k.x + _arg_2.x), (k.y + _arg_2.y));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static _Str_15193(k: Point, _arg_2: Point): Point
|
public static sub(k: Point, _arg_2: Point): Point
|
||||||
{
|
{
|
||||||
return new Point((k.x - _arg_2.x), (k.y - _arg_2.y));
|
return new Point((k.x - _arg_2.x), (k.y - _arg_2.y));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static _Str_6038(k: Point, _arg_2: number): Point
|
public static mul(k: Point, _arg_2: number): Point
|
||||||
{
|
{
|
||||||
return new Point((k.x * _arg_2), (k.y * _arg_2));
|
return new Point((k.x * _arg_2), (k.y * _arg_2));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user