()
| 34370 | |
| 34371 | if(!this._renderer.geometryInHash(gId)){ |
| 34372 | var _plane = function(){ |
| 34373 | var u,v,p; |
| 34374 | for (var i = 0; i <= this.detailY; i++){ |
| 34375 | v = i / this.detailY; |
| 34376 | for (var j = 0; j <= this.detailX; j++){ |
| 34377 | u = j / this.detailX; |
| 34378 | p = new p5.Vector(width * u - width/2, |
| 34379 | height * v - height/2, |
| 34380 | 0); |
| 34381 | this.vertices.push(p); |
| 34382 | this.uvs.push([u,v]); |
| 34383 | } |
| 34384 | } |
| 34385 | }; |
| 34386 | var planeGeom = |
| 34387 | new p5.Geometry(detailX, detailY, _plane); |
| 34388 | planeGeom |
nothing calls this directly
no outgoing calls
no test coverage detected