mirror of
https://github.com/photonstorm/phaser
synced 2024-11-16 09:48:18 +00:00
No longer requires temp matrices
This commit is contained in:
parent
10673da96b
commit
881019e55d
1 changed files with 0 additions and 31 deletions
|
@ -22,7 +22,6 @@ var GetValue = require('../../utils/object/GetValue');
|
|||
var MATH_CONST = require('../../math/const');
|
||||
var PIPELINES_CONST = require('../../renderer/webgl/pipelines/const');
|
||||
var Render = require('./GraphicsRender');
|
||||
var TransformMatrix = require('../components/TransformMatrix');
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
|
@ -201,36 +200,6 @@ var Graphics = new Class({
|
|||
*/
|
||||
this._lineWidth = 1.0;
|
||||
|
||||
/**
|
||||
* A temporary Transform Matrix, re-used internally during batching.
|
||||
*
|
||||
* @name Phaser.GameObjects.Graphics#_tempMatrix1
|
||||
* @private
|
||||
* @type {Phaser.GameObjects.Components.TransformMatrix}
|
||||
* @since 3.17.0
|
||||
*/
|
||||
this._tempMatrix1 = new TransformMatrix();
|
||||
|
||||
/**
|
||||
* A temporary Transform Matrix, re-used internally during batching.
|
||||
*
|
||||
* @name Phaser.GameObjects.Graphics#_tempMatrix2
|
||||
* @private
|
||||
* @type {Phaser.GameObjects.Components.TransformMatrix}
|
||||
* @since 3.17.0
|
||||
*/
|
||||
this._tempMatrix2 = new TransformMatrix();
|
||||
|
||||
/**
|
||||
* A temporary Transform Matrix, re-used internally during batching.
|
||||
*
|
||||
* @name Phaser.GameObjects.Graphics#_tempMatrix3
|
||||
* @private
|
||||
* @type {Phaser.GameObjects.Components.TransformMatrix}
|
||||
* @since 3.17.0
|
||||
*/
|
||||
this._tempMatrix3 = new TransformMatrix();
|
||||
|
||||
this.setDefaultStyles(options);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue