JSDoc fixes

This commit is contained in:
Richard Davey 2020-11-20 15:47:35 +00:00
parent f945abc0cc
commit df3b7d5f79
3 changed files with 6 additions and 6 deletions

View file

@ -20,8 +20,8 @@ var GameObjectFactory = require('../GameObjectFactory');
* @param {number} [y] - The vertical position of this Game Object in the world.
* @param {string|Phaser.Textures.Texture} [texture] - The key, or instance 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.
* @param {number[]} vertices - The vertices array. Either `xy` pairs, or `xyz` if the `containsZ` parameter is `true`.
* @param {number[]} uvs - The UVs pairs array.
* @param {number[]} [vertices] - The vertices array. Either `xy` pairs, or `xyz` if the `containsZ` parameter is `true`.
* @param {number[]} [uvs] - The UVs pairs array.
* @param {number[]} [indicies] - Optional vertex indicies array. If you don't have one, pass `null` or an empty array.
* @param {boolean} [containsZ=false] - Does the vertices data include a `z` component?
* @param {number[]} [normals] - Optional vertex normals array. If you don't have one, pass `null` or an empty array.

View file

@ -266,7 +266,7 @@ var Face = new Class({
/**
* Loads the data from this Vertex into the given Typed Arrays.
*
* @method Phaser.Geom.Mesh.Vertex#load
* @method Phaser.Geom.Mesh.Face#load
* @since 3.50.0
*
* @param {Float32Array} F32 - A Float32 Array to insert the position, UV and unit data in to.

View file

@ -79,7 +79,7 @@ var Vertex = new Class({
/**
* The projected x coordinate of this vertex.
*
* @name Phaser.Geom.Mesh.Vertex#vx
* @name Phaser.Geom.Mesh.Vertex#nx
* @type {number}
* @since 3.50.0
*/
@ -88,7 +88,7 @@ var Vertex = new Class({
/**
* The projected y coordinate of this vertex.
*
* @name Phaser.Geom.Mesh.Vertex#vy
* @name Phaser.Geom.Mesh.Vertex#ny
* @type {number}
* @since 3.50.0
*/
@ -97,7 +97,7 @@ var Vertex = new Class({
/**
* The projected z coordinate of this vertex.
*
* @name Phaser.Geom.Mesh.Vertex#vz
* @name Phaser.Geom.Mesh.Vertex#nz
* @type {number}
* @since 3.50.0
*/