UNPKG

772 BSource Map (JSON)View Raw
1{"version":3,"file":"Quad.js","sources":["../../src/utils/Quad.ts"],"sourcesContent":["import { Geometry } from '../geometry/Geometry';\n\n/**\n * Helper class to create a quad\n * @memberof PIXI\n */\nexport class Quad extends Geometry\n{\n constructor()\n {\n super();\n\n this.addAttribute('aVertexPosition', new Float32Array([\n 0, 0,\n 1, 0,\n 1, 1,\n 0, 1,\n ]))\n .addIndex([0, 1, 3, 2]);\n }\n}\n"],"names":["Geometry"],"mappings":";;AAMO,MAAM,aAAaA,SAAAA,SAC1B;AAAA,EACI,cACA;AACI,UAEA,GAAA,KAAK,aAAa,mBAAmB,IAAI,aAAa;AAAA,MAClD;AAAA,MAAG;AAAA,MACH;AAAA,MAAG;AAAA,MACH;AAAA,MAAG;AAAA,MACH;AAAA,MAAG;AAAA,IAAA,CACN,CAAC,EACG,SAAS,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC;AAAA,EAC9B;AACJ;;"}
\No newline at end of file