UNPKG

354 BJavaScriptView Raw
1"use strict";
2var Geometry = require("../geometry/Geometry.js");
3class Quad extends Geometry.Geometry {
4 constructor() {
5 super(), this.addAttribute("aVertexPosition", new Float32Array([
6 0,
7 0,
8 1,
9 0,
10 1,
11 1,
12 0,
13 1
14 ])).addIndex([0, 1, 3, 2]);
15 }
16}
17exports.Quad = Quad;
18//# sourceMappingURL=Quad.js.map