We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0aa4ed commit 46279c0Copy full SHA for 46279c0
packages/melonjs/src/camera/camera2d.js
@@ -583,7 +583,7 @@ export default class Camera2d extends Renderable {
583
* convert the given "local" (screen) coordinates into world coordinates
584
* @param {number} x - the x coordinate of the local point to be converted
585
* @param {number} y - the y coordinate of the local point to be converted
586
- * @param {number} [v] - an optional vector object where to set the converted value
+ * @param {Vector2d} [v] - an optional vector object where to set the converted value
587
* @returns {Vector2d}
588
*/
589
localToWorld(x, y, v) {
0 commit comments