mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 21:24:09 +00:00
Updated docs.
This commit is contained in:
parent
7817d47a25
commit
6383f6b1fb
1 changed files with 12 additions and 12 deletions
|
@ -16,12 +16,12 @@
|
||||||
*
|
*
|
||||||
* @class Phaser.Matrix
|
* @class Phaser.Matrix
|
||||||
* @constructor
|
* @constructor
|
||||||
* @param {number} [a=1]
|
* @param {number} [a=1] - Horizontal scaling
|
||||||
* @param {number} [b=0]
|
* @param {number} [b=0] - Horizontal skewing
|
||||||
* @param {number} [c=0]
|
* @param {number} [c=0] - Vertical skewing
|
||||||
* @param {number} [d=1]
|
* @param {number} [d=1] - Vertical scaling
|
||||||
* @param {number} [tx=0]
|
* @param {number} [tx=0] - Horizontal translation
|
||||||
* @param {number} [ty=0]
|
* @param {number} [ty=0] - Vertical translation
|
||||||
*/
|
*/
|
||||||
Phaser.Matrix = function (a, b, c, d, tx, ty) {
|
Phaser.Matrix = function (a, b, c, d, tx, ty) {
|
||||||
|
|
||||||
|
@ -104,12 +104,12 @@ Phaser.Matrix.prototype = {
|
||||||
* Sets the values of this Matrix to the given values.
|
* Sets the values of this Matrix to the given values.
|
||||||
*
|
*
|
||||||
* @method Phaser.Matrix#setTo
|
* @method Phaser.Matrix#setTo
|
||||||
* @param {number} a
|
* @param {number} a - Horizontal scaling
|
||||||
* @param {number} b
|
* @param {number} b - Horizontal skewing
|
||||||
* @param {number} c
|
* @param {number} c - Vertical skewing
|
||||||
* @param {number} d
|
* @param {number} d - Vertical scaling
|
||||||
* @param {number} tx
|
* @param {number} tx - Horizontal translation
|
||||||
* @param {number} ty
|
* @param {number} ty - Vertical translation
|
||||||
* @return {Phaser.Matrix} This Matrix object.
|
* @return {Phaser.Matrix} This Matrix object.
|
||||||
*/
|
*/
|
||||||
setTo: function (a, b, c, d, tx, ty) {
|
setTo: function (a, b, c, d, tx, ty) {
|
||||||
|
|
Loading…
Reference in a new issue