Liferay.Loader.define("commerce-dashboard-web$d3-shape@1.3.7/src/symbol/triangle", ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    var sqrt3 = Math.sqrt(3);

    export default {
      draw: function (context, size) {
        var y = -Math.sqrt(size / (sqrt3 * 3));
        context.moveTo(0, y * 2);
        context.lineTo(-sqrt3 * y, -y);
        context.lineTo(sqrt3 * y, -y);
        context.closePath();
      }
    };
  }
});
//# sourceMappingURL=triangle.js.map