/plugin/authgooglesheets/vendor/google/apiclient-services/src/ |
H A D | PlayableLocations.php | 39 public $v3; variable in Google\\Service\\PlayableLocations
|
/plugin/jdraw/src/com/mxgraph/examples/swing/ |
H A D | Validation.java | 51 Object v3 = graph.insertVertex(parent, null, targetNode in Validation() local
|
/plugin/stlviewer/stlviewer/ |
H A D | Projector.js | 225 function checkTriangleVisibility( v1, v2, v3 ) {
argument 237 function checkBackfaceCulling( v1, v2, v3 ) {
argument [all...] |
H A D | parser.min.js | 2 function parse_3d_file(e,r,t,n){var i=null;switch(e.split(".").pop().split("?")[0].toLowerCase()){case"stl":i=parse_stl_bin(r);break;case"obj":i=parse_obj(r);break;case"vf":i=parse_vf(arrayBufferToString(r));break;case"3mf":return void parse_3mf(r,t,n);default:i=parse_stl_bin(r)}t&&t(i)}function arrayBufferToString(e,r,t){if("undefined"!=typeof TextDecoder)return new TextDecoder("utf-8").decode(e);for(var n=new Uint8Array(e),i=n.length,a="",s=0;s<i;s+=16383){var o=16383;s+16383>i&&(o=i-s),a+=String.fromCharCode.apply(null,n.subarray(s,s+o))}return a}function parse_stl_ascii(e){try{var r=arrayBufferToString(e),t=[],n=[],i={};r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=(r=r.replace(/\r/,"\n")).replace(/^solid[^\n]*/,"")).replace(/\n/g," ")).replace(/facet normal /g,"")).replace(/outer loop/g,"")).replace(/vertex /g,"")).replace(/endloop/g,"")).replace(/endfacet/g,"")).replace(/endsolid[^\n]*/,"")).replace(/facet/g,"")).replace(/\s+/g," ")).replace(/^\s+/,"");for(var a,s=0,o=r.split(" "),l=[],c=o.length/12-1,f=0;f<c;f++){l=[];for(var d=0;d<3;d++)f1=parseFloat(o[s+3*d+3]),f2=parseFloat(o[s+3*d+4]),f3=parseFloat(o[s+3*d+5]),null==(a=i[[f1,f2,f3]])&&(a=t.length,t.push(new Array(f1,f2,f3)),i[[f1,f2,f3]]=a),l.push(a);n.push(new Array(l[0],l[1],l[2])),s+=12}return{vertices:t,faces:n,colors:!1}}catch(e){return"Can't parse file"}}function parse_stl_bin(e){var r,t,n,i,a,s,o,l=[],c=[],f={},d=!1;if(!e)return null;var p=arrayBufferToString(e.slice(0,80)).toLowerCase().indexOf("color"),u=new DataView(e,0),v=!1,_=-1,g=-1,h=-1;p>-1&&(d=!0,_=u.getUint8(p+6,!0)/31,g=u.getUint8(p+7,!0)/31,h=u.getUint8(p+8,!0)/31);var x=80;try{var y=u.getUint32(x,!0)}catch(e){return"Can't parse file"}var m=84+50*y;if(e.byteLength!=m)return parse_stl_ascii(e);try{for(x+=4;y--;)x+=12,null==(r=f[[t=u.getFloat32(x,!0),n=u.getFloat32(x+4,!0),i=u.getFloat32(x+8,!0)]])&&(r=l.length,l.push(new Array(t,n,i)),f[[t,n,i]]=r),a=r,x+=12,null==(r=f[[t=u.getFloat32(x,!0),n=u.getFloat32(x+4,!0),i=u.getFloat32(x+8,!0)]])&&(r=l.length,l.push(new Array(t,n,i)),f[[t,n,i]]=r),s=r,x+=12,null==(r=f[[t=u.getFloat32(x,!0),n=u.getFloat32(x+4,!0),i=u.getFloat32(x+8,!0)]])&&(r=l.length,l.push(new Array(t,n,i)),f[[t,n,i]]=r),o=r,x+=12,face_color=u.getUint16(x,!0),(d?1:(32768&face_color)>>15)?(d?32768==face_color||65535==face_color?(color_red=_,color_green=g,color_blue=h):(v=!0,color_red=(31&face_color)/31,color_green=((992&face_color)>>5)/31,color_blue=((31744&face_color)>>10)/31):(v=!0,color_blue=(31&face_color)/31,color_green=((992&face_color)>>5)/31,color_red=((31744&face_color)>>10)/31),c.push(new Array(a,s,o,color_red,color_green,color_blue))):c.push(new Array(a,s,o)),x+=2;return f=null,{vertices:l,faces:c,colors:v}}catch(e){return"Can't parse file"}}function parse_vf(e){var r=JSON.parse(e),t=[],n=[];try{var a=r.vertices.length;for(i=0;i<a;i++)t.push(new Array(r.vertices[i][0],r.vertices[i][1],r.vertices[i][2]));a=r.faces.length;for(i=0;i<a;i++)n.push(new Array(r.faces[i][0],r.faces[i][1],r.faces[i][2]));return{vertices:t,faces:n,colors:!1}}catch(e){return"Can't parse file"}}function init_zip(e,r){var t=null;try{t=new JSZip}catch(r){e&&console.log("JSZip is missing",r.message),t=null}return t||e?t:(importScripts(r),init_zip(!0,r))}function parse_3mf(e,r,t){if("<?xml"==arrayBufferToString(e.slice(0,5)))return parse_3mf_from_txt(arrayBufferToString(e),r);var n=init_zip(!1,t);if(!n)return!1;var i=!1;n.loadAsync(e).then(function(){for(var e=Object.keys(n.files),t=e.length;t--;)"3D/3dmodel.model"==n.files[e[t]].name&&(i=!0,n.files[e[t]].async("text").then(function(e){return parse_3mf_from_txt(e,r)}));i||r("3D/3dmodel.model in 3mf file not found")})}function parse_3mf_from_txt(e,r){var t=[],n=[],i=[],a=[],s=!1,o=/vertex\s+.*(x|y|z)\s*=\s*([0-9,\.\"\+\-e]+)\s+.*(x|y|z)\s*=\s*([0-9,\.\"\+\-e]+)\s+.*(x|y|z)\s*=\s*([0-9,\.\"\+\-e]+)\s*/i,l=/triangle\s+.*(v1|v2|v3)\s*=\s*([0-9\"]+)\s+.*(v1|v2|v3)\s*=\s*([0-9\"]+)\s+.*(v1|v2|v3)\s*=\s*([0-9\"]+)\s*(?:pid=([0-9\"]+)\s+)?(?:p[1|2|3]=([0-9\"]+)\s)?\s*/i,c=/(?:m:\S+|basematerials)\s+id=([0-9\"]+)\s*/i,f=/(?:m:(\S+)|base)\s+.*color=([0-9A-F\"\#]+)\s*/i,d=/<object\s+/i,p=/<component\s+.*objectid=([0-9\"]+)/i,u=/item\s+.*objectid=([0-9\"]+)\s+.*transform=(([0-9\".e-]+\s+){12})/i,v={},_={},g=null,h=0,x=0,y=0,m=/<build/i,b=/<\/build/i,w=/<item\s+.*objectid=([0-9\"]+)/i,A=e.split(/[\r\n]+/g);A.length<5&&(A=e.split(/(?=<)/g));for(var F=!1,S=0;S<A.length;S++){var B=A[S];if(B=B.replace(/"/g,""),M=o.exec(B)){var z={x:0,y:0,z:0};z[M[1]]=M[2],z[M[3]]=M[4],z[M[5]]=M[6],t.push([z.x,z.y,z.z]),x++}else{if(M=l.exec(B)){var I={v1:0,v2:0,v3:0},J=null,O=g?g.v_start_index:0;I[M[1]]=parseInt(M[2])+O,I[M[3]]=parseInt(M[4])+O,I[M[5]]=parseInt(M[6])+O,void 0!==M[7]&&v[M[7]]&&void 0!==M[8]&&v[M[7]]&&v[M[7]].color&&v[M[7]].color[M[8]]&&(J=v[M[7]].color[M[8]].substr(1)),!J&&g&&void 0!==g.pid&&void 0!==g.pindex&&v[g.pid]&&v[g.pid].color&&v[g.pid].color[g.pindex]&&(J=v[g.pid].color[g.pindex].substr(1)),J?(s=!0,J={red:parseInt(J.substr(0,2),16)/255,green:parseInt(J.substr(2,2),16)/255,blue:parseInt(J.substr(4,2),16)/255},n.push([I.v1,I.v2,I.v3,J.red,J.green,J.blue])):n.push([I.v1,I.v2,I.v3]),y++}else{if(M=c.exec(B))v[h=M[1]]||(v[h]={});else if(M=p.exec(B)){if(!g)continue;if(!_[M[1]])con (…) property in parse_3mf_from_txt.I
|
H A D | CanvasRenderer.js | 694 function renderFace3( v1, v2, v3, uv1, uv2, uv3, element, material ) {
argument
|
/plugin/jmol2/jmol/ |
H A D | JmolApplet0_Minimize.jar | ... vecmath.Vector3d v2
final javax.vecmath.Vector3d v3
private static final double PI_OVER_2
private static final double TWO_PI ... |
H A D | JmolAppletSigned0_Minimize.jar | ... vecmath.Vector3d v2
final javax.vecmath.Vector3d v3
private static final double PI_OVER_2
private static final double TWO_PI ... |
H A D | JmolAppletSigned0_ShapeSpecial.jar | META-INF/MANIFEST.MF
META-INF/SELFSIGN.SF
META-INF/SELFSIGN ... |
H A D | JmolApplet0_ShapeSpecial.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/jmol/
org/ ... |
H A D | JmolApplet.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/jmol/
org/ ... |
H A D | JmolAppletSigned.jar | META-INF/MANIFEST.MF
META-INF/SELFSIGN.SF
META-INF/SELFSIGN ... |
/plugin/jdraw/lib/ |
H A D | jgraphx-examples.jar | ... <init> ()
Object v1
Object v2
Object v3
Object e1
Object e2
com.mxgraph.view. ... |
H A D | jdraw.jar | META-INF/MANIFEST.MF
META-INF/HAMMURAP.SF
META-INF/HAMMURAP ... |