diff --git a/src/core/graphics/webgl/GraphicsRenderer.js b/src/core/graphics/webgl/GraphicsRenderer.js index ff96493..4012d97 100644 --- a/src/core/graphics/webgl/GraphicsRenderer.js +++ b/src/core/graphics/webgl/GraphicsRenderer.js @@ -515,7 +515,7 @@ height = circleData.height; } - var totalSegs = Math.floor(30 * Math.sqrt(circleData.radius)); + var totalSegs = Math.floor(30 * Math.sqrt(circleData.radius)) || Math.floor(15 * Math.sqrt(circleData.width + circleData.height)); var seg = (Math.PI * 2) / totalSegs ; var i = 0;