|
THREE.DOMRenderer=function(){THREE.Renderer.call(this);var b=null,c=new THREE.Projector,e,f,h,m;this.domElement=document.createElement("div");this.setSize=function(b,c){e=b;f=c;h=e/2;m=f/2};this.render=function(e,f){var u,p,v,t,x,w,y,z;b=c.projectScene(e,f);u=0;for(p=b.length;u<p;u++)if(x=b[u],x instanceof THREE.RenderableParticle){y=x.x*h+h;z=x.y*m+m;v=0;for(t=x.material.length;v<t;v++)if(w=x.material[v],w instanceof THREE.ParticleDOMMaterial)w=w.domElement,w.style.left=y+"px",w.style.top=z+"px"}}};
|
|
THREE.DOMRenderer=function(){THREE.Renderer.call(this);var b=null,c=new THREE.Projector,e,f,h,m;this.domElement=document.createElement("div");this.setSize=function(b,c){e=b;f=c;h=e/2;m=f/2};this.render=function(e,f){var u,p,v,t,x,w,y,z;b=c.projectScene(e,f);u=0;for(p=b.length;u<p;u++)if(x=b[u],x instanceof THREE.RenderableParticle){y=x.x*h+h;z=x.y*m+m;v=0;for(t=x.material.length;v<t;v++)if(w=x.material[v],w instanceof THREE.ParticleDOMMaterial)w=w.domElement,w.style.left=y+"px",w.style.top=z+"px"}}};
|
|
p,v,t,x,w=u.getContext("2d"),y=new THREE.Color(0),z=0,C=1,A=0,F=null,D=null,I=null,O=null,R=null,K,G,H,X,E=new THREE.RenderableVertex,P=new THREE.RenderableVertex,Q,V,W,o,ea,U,la,aa,ja,ca,ma,fa,da=new THREE.Color(0),T=new THREE.Color(0),Y=new THREE.Color(0),ga=new THREE.Color(0),ka=new THREE.Color(0),ta=[],L,ha,pa,qa,va,Da,Ea,Aa,Ca,Ga,M=new THREE.Rectangle,N=new THREE.Rectangle,Z=new THREE.Rectangle,ra=!1,ia=new THREE.Color,na=new THREE.Color,ya=new THREE.Color,ua=new THREE.Color,oa=new THREE.Vector3,
|
|
p,v,t,x,w=u.getContext("2d"),y=new THREE.Color(0),z=0,C=1,A=0,F=null,D=null,I=null,O=null,R=null,K,G,H,X,E=new THREE.RenderableVertex,P=new THREE.RenderableVertex,Q,V,W,o,ea,U,la,aa,ja,ca,ma,fa,da=new THREE.Color(0),T=new THREE.Color(0),Y=new THREE.Color(0),ga=new THREE.Color(0),ka=new THREE.Color(0),ta=[],L,ha,pa,qa,va,Da,Ea,Aa,Ca,Ga,M=new THREE.Rectangle,N=new THREE.Rectangle,Z=new THREE.Rectangle,ra=!1,ia=new THREE.Color,na=new THREE.Color,ya=new THREE.Color,ua=new THREE.Color,oa=new THREE.Vector3,
|