Skip to content

Commit 09a5b21

Browse files
committed
improves doc
1 parent 748c115 commit 09a5b21

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ composing in a different order may yield a different decomposition result.</p>
4343
This approach can be associated to a pointer that moves on a device</p>
4444
</dd>
4545
<dt><a href="#fromTwoMovingPoints">fromTwoMovingPoints(startingPoint1, startingPoint2, endingPoint1, endingPoint2)</a></dt>
46-
<dd><p>Calculate a transformation matrix about two points that move from positions A and B to A&#39; to B&#39;
46+
<dd><p>Calculate a transformation matrix about two points that move from positions A and B to A&#39; and B&#39;
4747
This approach can be associated to a two finger gesture on a touch device</p>
4848
</dd>
4949
<dt><a href="#fromObject">fromObject(object)</a> ⇒ <code>Matrix</code></dt>
@@ -246,7 +246,7 @@ This approach can be associated to a pointer that moves on a device
246246
<a name="fromTwoMovingPoints"></a>
247247

248248
## fromTwoMovingPoints(startingPoint1, startingPoint2, endingPoint1, endingPoint2)
249-
Calculate a transformation matrix about two points that move from positions A and B to A' to B'
249+
Calculate a transformation matrix about two points that move from positions A and B to A' and B'
250250
This approach can be associated to a two finger gesture on a touch device
251251

252252
**Kind**: global function

src/fromMovingPoints.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export function fromOneMovingPoint (startingPoint, endingPoint) {
1818
}
1919

2020
/**
21-
* Calculate a transformation matrix about two points that move from positions A and B to A' to B'
21+
* Calculate a transformation matrix about two points that move from positions A and B to A' and B'
2222
* This approach can be associated to a two finger gesture on a touch device
2323
* @param {Point} startingPoint1 - Starting Point (A)
2424
* @param {Point} startingPoint2 - Starting Point (B)

src/transformation-matrix.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ declare module 'transformation-matrix/fromMovingPoints' {
314314
export function fromOneMovingPoint (startingPoint: Point, endingPoint: Point): Matrix;
315315

316316
/**
317-
* Calculate a transformation matrix about two points that move from positions A and B to A' to B' (e.g. mobile gesture)
317+
* Calculate a transformation matrix about two points that move from positions A and B to A' and B' (e.g. mobile gesture)
318318
*/
319319
export function fromTwoMovingPoints (startingPoint1: Point, startingPoint2: Point, endingPoint1: Point, endingPoint2: Point): Matrix;
320320
}

0 commit comments

Comments
 (0)