Processing 125 : LINE_LOOP
Brought to you by:
jtnimoy
in VectorOutiline Example it gaves me this error:
C:/DOCUME~1/Menekis/LOCALS~1/Temp/build10383.tmp/Temporary_6531_2256.java:44:16:44:24: Semantic Error: No accessible field named "LINE_LOOP" was found in type "Temporary_6531_2256".
Logged In: NO
I have this issue as well. Along with 3 friends of mine.
Logged In: YES
user_id=1026345
Originator: NO
Try changing this:
//draw edge points (same as last, but vector based)
list = m.globEdgePoints(20);
stroke(0,128,0);
for(int i=0;i<list.length;i++){
int[][] contour = list[i];
if(contour!=null){
beginShape(LINE_LOOP);
for(int j=0;j<contour.length;j++){
vertex( contour[j][0] , contour[j][1] );
}
endShape();
}
}
to this:
//draw edge points (same as last, but vector based)
list = m.globEdgePoints(20);
stroke(0,128,0);
for(int i=0;i<list.length;i++){
int[][] contour = list[i];
if(contour!=null){
noFill();
beginShape();
for(int j=0;j<contour.length;j++){
vertex( contour[j][0] , contour[j][1] );
}
endShape(CLOSE);
}
}
I have a fixed version if anyone wants to see this change in context!
Logged In: NO
I have also received this error.