Skip to content

Commit f765b00

Browse files
committed
doc: remove unnecessary reference to ObservableVector2d
1 parent f96cadd commit f765b00

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

packages/melonjs/src/geometries/ellipse.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import pool from "./../system/pooling.js";
33
/**
44
* additional import for TypeScript
55
* @import Vector2d from "./../math/vector2.js";
6-
* @import ObservableVector2d from "./../math/observable_vector2.js";
76
* @import Matrix2d from "./../math/matrix2.js";
87
* @import Bounds from "./../physics/bounds.js";
98
*/
@@ -106,7 +105,7 @@ export default class Ellipse {
106105
/**
107106
* Rotate this Ellipse (counter-clockwise) by the specified angle (in radians).
108107
* @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
110109
* @returns {Ellipse} Reference to this object for method chaining
111110
*/
112111
rotate(angle, v) {

packages/melonjs/src/geometries/poly.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { earcut } from "./earcut.js";
44
/**
55
* additional import for TypeScript
66
* @import Vector2d from "./../math/vector2.js";
7-
* @import ObservableVector2d from "./../math/observable_vector2.js";
87
* @import Matrix2d from "./../math/matrix2.js";
98
* @import Bounds from "./../physics/bounds.js";
109
*/
@@ -162,7 +161,7 @@ export default class Polygon {
162161
/**
163162
* Rotate this Polygon (counter-clockwise) by the specified angle (in radians).
164163
* @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
166165
* @returns {Polygon} Reference to this object for method chaining
167166
*/
168167
rotate(angle, v) {

packages/melonjs/src/physics/body.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import { remove } from "../utils/array.ts";
1717
* @import NineSliceSprite from "./../renderable/nineslicesprite.js";
1818
* @import Line from "./../geometries/line.js";
1919
* @import Vector2d from "./../math/vector2.js";
20-
* @import ObservableVector2d from "./../math/observable_vector2.js";
2120
* @import ResponseObject from "./response.js";
2221
**/
2322

@@ -558,7 +557,7 @@ export default class Body {
558557
* Rotate this body (counter-clockwise) by the specified angle (in radians).
559558
* Unless specified the body will be rotated around its center point
560559
* @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
562561
* @returns {Body} Reference to this object for method chaining
563562
*/
564563
rotate(angle, v = this.getBounds().center) {

0 commit comments

Comments
 (0)