From 0f87981f47e1eaa8ffb945c144d8d525847844a7 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Thu, 15 Oct 2020 11:07:22 +0100 Subject: [PATCH] Improved docs --- src/gameobjects/mesh/Mesh.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gameobjects/mesh/Mesh.js b/src/gameobjects/mesh/Mesh.js index c2bb5ba0a..043c9f069 100644 --- a/src/gameobjects/mesh/Mesh.js +++ b/src/gameobjects/mesh/Mesh.js @@ -413,8 +413,8 @@ var Mesh = new Class({ * @method Phaser.GameObjects.Mesh#setPerspective * @since 3.50.0 * - * @param {number} width - The width of the renderer. - * @param {number} height - The height of the renderer. + * @param {number} width - The width of the projection matrix. Typically the same as the Mesh and/or Renderer. + * @param {number} height - The height of the projection matrix. Typically the same as the Mesh and/or Renderer. * @param {number} [fov=45] - The field of view, in degrees. * @param {number} [near=0.01] - The near value of the view. * @param {number} [far=1000] - The far value of the view. @@ -443,8 +443,8 @@ var Mesh = new Class({ * @method Phaser.GameObjects.Mesh#setOrtho * @since 3.50.0 * - * @param {number} [scaleX=1] - The default horizontal scale in relation to the renderer dimensions. - * @param {number} [scaleY=1] - The default vertical scale in relation to the renderer dimensions. + * @param {number} [scaleX=1] - The default horizontal scale in relation to the Mesh / Renderer dimensions. + * @param {number} [scaleY=1] - The default vertical scale in relation to the Mesh / Renderer dimensions. * @param {number} [near=-1000] - The near value of the view. * @param {number} [far=1000] - The far value of the view. */