mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 14:38:30 +00:00
Clean-up and comments.
This commit is contained in:
parent
550954210e
commit
e3f402ec06
1 changed files with 4 additions and 4 deletions
|
@ -154,11 +154,11 @@ Phaser.Tileset.prototype = {
|
|||
},
|
||||
|
||||
/**
|
||||
* Draws a tile from this Tileset at the given coordinates.
|
||||
* Draws a tile from this Tileset at the given coordinates using a WebGl renderer.
|
||||
*
|
||||
* @method Phaser.Tileset#draw
|
||||
* @method Phaser.Tileset#drawGl
|
||||
* @public
|
||||
* @param {Array} glBatch - A list of webgl batch objects to draw later.
|
||||
* @param out {Array} glBatch - A list of webgl batch objects to draw later.
|
||||
* @param {number} x - The x coordinate to draw to.
|
||||
* @param {number} y - The y coordinate to draw to.
|
||||
* @param {integer} index - The index of the tile within the set to draw.
|
||||
|
@ -190,7 +190,7 @@ Phaser.Tileset.prototype = {
|
|||
},
|
||||
|
||||
/**
|
||||
* adds a marker for the batch display to insert a degenerate triangle (eg. at the end of each row of tiles)
|
||||
* adds a marker for the WebGl batch display to insert a degenerate triangle (eg. at the end of each row of tiles)
|
||||
*
|
||||
* @param {[type]} glBatch [description]
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue