Lines Matching refs:mesh
49008 function decodeType4Shading(mesh, reader) {
49009 var coords = mesh.coords;
49010 var colors = mesh.colors;
49051 mesh.figures.push({
49058 function decodeType5Shading(mesh, reader, verticesPerRow) {
49059 var coords = mesh.coords;
49060 var colors = mesh.colors;
49071 mesh.figures.push({
49106 function buildFigureFromPatch(mesh, index) {
49107 var figure = mesh.figures[index];
49109 var coords = mesh.coords,
49110 colors = mesh.colors;
49117 …var splitXBy = Math.ceil((figureMaxX - figureMinX) * TRIANGLE_DENSITY / (mesh.bounds[2] - mesh.bou…
49119 …var splitYBy = Math.ceil((figureMaxY - figureMinY) * TRIANGLE_DENSITY / (mesh.bounds[3] - mesh.bou…
49178 mesh.figures[index] = {
49186 function decodeType6Shading(mesh, reader) {
49187 var coords = mesh.coords;
49188 var colors = mesh.colors;
49309 mesh.figures.push({
49317 function decodeType7Shading(mesh, reader) {
49318 var coords = mesh.coords;
49319 var colors = mesh.colors;
49448 mesh.figures.push({
49456 function updateBounds(mesh) {
49457 var minX = mesh.coords[0][0],
49458 minY = mesh.coords[0][1],
49462 for (var i = 1, ii = mesh.coords.length; i < ii; i++) {
49463 var x = mesh.coords[i][0],
49464 y = mesh.coords[i][1];
49471 mesh.bounds = [minX, minY, maxX, maxY];
49474 function packData(mesh) {
49476 var coords = mesh.coords;
49485 mesh.coords = coordsPacked;
49486 var colors = mesh.colors;
49496 mesh.colors = colorsPacked;
49497 var figures = mesh.figures;