From ae214a8664f9b5e746a2191c80d70fcc6b415b78 Mon Sep 17 00:00:00 2001 From: Chris Andrew Date: Fri, 8 Jun 2018 15:42:55 +0100 Subject: [PATCH] Documented the missing descriptions for the Mesh game object. --- src/gameobjects/mesh/Mesh.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/gameobjects/mesh/Mesh.js b/src/gameobjects/mesh/Mesh.js index cfcaced99..e6e1cec43 100644 --- a/src/gameobjects/mesh/Mesh.js +++ b/src/gameobjects/mesh/Mesh.js @@ -38,10 +38,10 @@ var MeshRender = require('./MeshRender'); * @param {Phaser.Scene} scene - The Scene to which this Game Object belongs. A Game Object can only belong to one Scene at a time. * @param {number} x - The horizontal position of this Game Object in the world. * @param {number} y - The vertical position of this Game Object in the world. - * @param {float[]} vertices - An array containing the vertices data for this Mesh. - * @param {float[]} uv - An array containing the uv data for this Mesh. - * @param {float[]} colors - An array containing the color data for this Mesh. - * @param {float[]} alphas - An array containing the alpha data for this Mesh. + * @param {number[]} vertices - An array containing the vertices data for this Mesh. + * @param {number[]} uv - An array containing the uv data for this Mesh. + * @param {number[]} colors - An array containing the color data for this Mesh. + * @param {number[]} alphas - An array containing the alpha data for this Mesh. * @param {string} texture - The key of the Texture this Game Object will use to render with, as stored in the Texture Manager. * @param {(string|integer)} [frame] - An optional frame from the Texture this Game Object is rendering with. */ @@ -115,7 +115,7 @@ var Mesh = new Class({ } /** - * [description] + * An array containing the vertices data for this Mesh. * * @name Phaser.GameObjects.Mesh#vertices * @type {Float32Array} @@ -124,7 +124,7 @@ var Mesh = new Class({ this.vertices = new Float32Array(vertices); /** - * [description] + * An array containing the uv data for this Mesh. * * @name Phaser.GameObjects.Mesh#uv * @type {Float32Array} @@ -133,7 +133,7 @@ var Mesh = new Class({ this.uv = new Float32Array(uv); /** - * [description] + * An array containing the color data for this Mesh. * * @name Phaser.GameObjects.Mesh#colors * @type {Uint32Array} @@ -142,7 +142,7 @@ var Mesh = new Class({ this.colors = new Uint32Array(colors); /** - * [description] + * An array containing the alpha data for this Mesh. * * @name Phaser.GameObjects.Mesh#alphas * @type {Float32Array}