Working out culling

This commit is contained in:
Richard Davey
2013-09-01 00:35:29 +01:00
parent 22847f6ade
commit 5d4da0ce66
3 changed files with 86 additions and 62 deletions
+2
View File
@@ -372,9 +372,11 @@ Phaser.Utils.Debug.prototype = {
fillStyle = fillStyle || 'rgba(0,255,0,0.3)';
this.start();
this.context.beginPath();
this.context.fillStyle = fillStyle;
this.context.arc(circle.x, circle.y, circle.radius, 0, Math.PI * 2, false);
this.context.fill();
this.context.closePath();
this.stop();
},