File tree 3 files changed +3
-6
lines changed
3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import pool from "./../system/pooling.js";
3
3
/**
4
4
* additional import for TypeScript
5
5
* @import Vector2d from "./../math/vector2.js";
6
- * @import ObservableVector2d from "./../math/observable_vector2.js";
7
6
* @import Matrix2d from "./../math/matrix2.js";
8
7
* @import Bounds from "./../physics/bounds.js";
9
8
*/
@@ -106,7 +105,7 @@ export default class Ellipse {
106
105
/**
107
106
* Rotate this Ellipse (counter-clockwise) by the specified angle (in radians).
108
107
* @param {number } angle - The angle to rotate (in radians)
109
- * @param {Vector2d|ObservableVector2d } [v] - an optional point to rotate around
108
+ * @param {Vector2d } [v] - an optional point to rotate around
110
109
* @returns {Ellipse } Reference to this object for method chaining
111
110
*/
112
111
rotate ( angle , v ) {
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { earcut } from "./earcut.js";
4
4
/**
5
5
* additional import for TypeScript
6
6
* @import Vector2d from "./../math/vector2.js";
7
- * @import ObservableVector2d from "./../math/observable_vector2.js";
8
7
* @import Matrix2d from "./../math/matrix2.js";
9
8
* @import Bounds from "./../physics/bounds.js";
10
9
*/
@@ -162,7 +161,7 @@ export default class Polygon {
162
161
/**
163
162
* Rotate this Polygon (counter-clockwise) by the specified angle (in radians).
164
163
* @param {number } angle - The angle to rotate (in radians)
165
- * @param {Vector2d|ObservableVector2d } [v] - an optional point to rotate around
164
+ * @param {Vector2d } [v] - an optional point to rotate around
166
165
* @returns {Polygon } Reference to this object for method chaining
167
166
*/
168
167
rotate ( angle , v ) {
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ import { remove } from "../utils/array.ts";
17
17
* @import NineSliceSprite from "./../renderable/nineslicesprite.js";
18
18
* @import Line from "./../geometries/line.js";
19
19
* @import Vector2d from "./../math/vector2.js";
20
- * @import ObservableVector2d from "./../math/observable_vector2.js";
21
20
* @import ResponseObject from "./response.js";
22
21
**/
23
22
@@ -558,7 +557,7 @@ export default class Body {
558
557
* Rotate this body (counter-clockwise) by the specified angle (in radians).
559
558
* Unless specified the body will be rotated around its center point
560
559
* @param {number } angle - The angle to rotate (in radians)
561
- * @param {Vector2d|ObservableVector2d } [v=Body.getBounds().center] - an optional point to rotate around
560
+ * @param {Vector2d } [v=Body.getBounds().center] - an optional point to rotate around
562
561
* @returns {Body } Reference to this object for method chaining
563
562
*/
564
563
rotate ( angle , v = this . getBounds ( ) . center ) {
You can’t perform that action at this time.
0 commit comments