add() and sub() take a Point as parameter

@dobrud @patrickr
cfr. https://github.com/mapbox/point-geometry
This commit is contained in:
Marco Q
2018-06-20 16:59:06 +02:00
committed by GitHub
parent 7eae3c4d77
commit 85d9f93ac1

View File

@@ -710,9 +710,9 @@ declare namespace mapboxgl {
clone(): Point;
add(p: number): Point;
add(p: Point): Point;
sub(p: number): Point;
sub(p: Point): Point;
mult(k: number): Point;