Skip to content

Commit 381963c

Browse files
committed
Removed localToWorld (no longer needed)
1 parent d15d910 commit 381963c

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

src/gameobjects/container/Container.js

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -209,32 +209,6 @@ var Container = new Class({
209209
return output;
210210
},
211211

212-
/**
213-
*
214-
*
215-
* @method Phaser.GameObjects.Container#localToWorld
216-
* @since 3.4.0
217-
*
218-
* @param {Phaser.GameObjects.GameObject} child - The child of this Container.
219-
* @param {Phaser.Cameras.Scene2D.Camera} [camera] - The camera to transform against.
220-
* @param {(object|Phaser.Geom.Point|Phaser.Math.Vector2)} [output] - A destination object to store the transformed point in. If none given a Vector2 will be created and returned.
221-
*
222-
* @return {(object|Phaser.Geom.Point|Phaser.Math.Vector2)} The transformed point.
223-
*/
224-
localToWorld: function (child, camera, output)
225-
{
226-
if (camera === undefined) { camera = this.scene.sys.cameras.main; }
227-
if (output === undefined) { output = new Vector2(); }
228-
229-
if (this.exists(child))
230-
{
231-
// Do matrix magic here
232-
// See: Camera.getWorldPoint and InputManager.hitTest
233-
}
234-
235-
return output;
236-
},
237-
238212
/**
239213
* Destroys this Container removing it and all children from the Display List and
240214
* severing all ties to parent resources.

0 commit comments

Comments
 (0)