break;case"WEBGL_compressed_texture_pvrtc":d=a.getExtension("WEBGL_compressed_texture_pvrtc")||a.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc");break;default:d=a.getExtension(c)}null===d&&console.warn("THREE.WebGLRenderer: "+c+" extension not supported.");returnb[c]=d}};
m.geometryinstanceofTHREE.Geometry&&p.updateFromObject(m);if(void0!==m.morphTargetInfluences){for(varq=[],r=m.morphTargetInfluences,s=0,u=r.length;s<u;s++)q.push([r[s],s]);q.sort(e);8<q.length&&(q.length=8);s=0;for(u=q.length;s<u;s++)f[s]=q[s][0],p.addAttribute("morphTarget"+s,p.morphAttributes[q[s][1]]);m=m.material;void0!==m.program?(m=m.program.getUniforms(),null!==m.morphTargetInfluences&&a.uniform1fv(m.morphTargetInfluences,f)):console.warn("TOFIX: material.program is undefined")}p=p.attributes;