shadow$provide.module$node_modules$pixi_DOT_js$lib$scene$graphics$shared$buildCommands$buildTriangle = function(global, require, module, exports) { global = require("module$node_modules$pixi_DOT_js$lib$extensions$Extensions"); "use strict"; exports.buildTriangle = {extension:{type:global.ExtensionType.ShapeBuilder, name:"triangle"}, build(shape, points) { points[0] = shape.x; points[1] = shape.y; points[2] = shape.x2; points[3] = shape.y2; points[4] = shape.x3; points[5] = shape.y3; return !0; }, triangulate(points, vertices, verticesStride, verticesOffset, indices, indicesOffset) { let count = 0; verticesOffset *= verticesStride; vertices[verticesOffset + count] = points[0]; vertices[verticesOffset + count + 1] = points[1]; count += verticesStride; vertices[verticesOffset + count] = points[2]; vertices[verticesOffset + count + 1] = points[3]; count += verticesStride; vertices[verticesOffset + count] = points[4]; vertices[verticesOffset + count + 1] = points[5]; points = verticesOffset / verticesStride; indices[indicesOffset++] = points; indices[indicesOffset++] = points + 1; indices[indicesOffset++] = points + 2; }}; }; //# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$scene$graphics$shared$buildCommands$buildTriangle.js.map