()
| 35030 | x4+'|'+y4; |
| 35031 | if(!this.geometryInHash(gId)){ |
| 35032 | var _quad = function(){ |
| 35033 | this.vertices.push(new p5.Vector(x1,y1,0)); |
| 35034 | this.vertices.push(new p5.Vector(x2,y2,0)); |
| 35035 | this.vertices.push(new p5.Vector(x3,y3,0)); |
| 35036 | this.vertices.push(new p5.Vector(x4,y4,0)); |
| 35037 | this.uvs.push([0, 0], [1, 0], [1, 1], [0, 1]); |
| 35038 | }; |
| 35039 | var quadGeom = new p5.Geometry(2,2,_quad); |
| 35040 | quadGeom.computeNormals(); |
| 35041 | quadGeom.faces = [[0,1,2],[2,3,0]]; |
nothing calls this directly
no outgoing calls
no test coverage detected