- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for quadToRect (0.25 sec)
-
src/internal/trace/traceviewer/static/trace_viewer_full.html
count++;}else{if(count===1){const deltaY=horizontalSweepEdges[j].value- horizontalSweepEdges[firstRect].value;area+=deltaX*deltaY;} count--;}}} active[currentLine.id]=(currentLine.type==='left');} return area;} static quadToRect(quad){const left=Math.min(quad[0],quad[2],quad[4]);const right=Math.max(quad[0],quad[2],quad[4]);const top=Math.min(quad[1],quad[3],quad[5]);const bottom=Math.max(quad[1],quad[3],quad[5]);return{left,right,top,bottom};}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (1)