mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 05:03:37 +00:00
Reverted Vector3.setTo() implementation. Fixed an ESLint issue in RenderTexture.
This commit is contained in:
parent
8c3a9ea42b
commit
03fee98511
2 changed files with 1 additions and 18 deletions
|
@ -178,7 +178,7 @@ var RenderTexture = new Class({
|
|||
*/
|
||||
preDestroy: function ()
|
||||
{
|
||||
if (this.renderer && this.renderer.gl)
|
||||
if (this.renderer && this.renderer.gl)
|
||||
{
|
||||
this.renderer.deleteTexture(this.texture);
|
||||
this.renderer.deleteFramebuffer(this.framebuffer);
|
||||
|
|
|
@ -199,23 +199,6 @@ var Vector3 = new Class({
|
|||
return this;
|
||||
},
|
||||
|
||||
/**
|
||||
* This method is an alias for `Vector3.set`.
|
||||
*
|
||||
* @method Phaser.Math.Vector3#setTo
|
||||
* @since 3.next
|
||||
*
|
||||
* @param {number} x - The x value to set for this Vector.
|
||||
* @param {number} [y] - The y value to set for this Vector.
|
||||
* @param {number} [z] - The z value to set for this Vector.
|
||||
*
|
||||
* @return {Phaser.Math.Vector3} This Vector3.
|
||||
*/
|
||||
setTo: function (x, y, z)
|
||||
{
|
||||
return this.set(x, y, z);
|
||||
},
|
||||
|
||||
/**
|
||||
* Add a given Vector to this Vector. Addition is component-wise.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue