I found these 2 lines on
this sketch in openprocessing using toxiclibscore:
PlaneSelector sel = new PlaneSelector(filteredMesh, new Plane(new Vec3D(), new Vec3D(0, 1, 0).rotateX(frameCount * 0.02f)), 0, Plane.Classifier.PLANE_FRONT);
PlaneSelector sel2 = new PlaneSelector(filteredMesh, new Plane(new Vec3D(), new Vec3D(1, 1, 0).rotateX(frameCount * 0.04f + HALF_PI)),0, Plane.Classifier.PLANE_FRONT);
Which I fixed as :
PlaneSelector sel = new PlaneSelector(filteredMesh, new Plane(new Vec3D(), new Vec3D(0, 1, 0).rotateX(frameCount * 0.02f)), Plane.Classifier.FRONT);
but then I got stuck on this one
sel.addSelection(sel2.getSelection());
Any idea what is wrong? I will keep investigating.
I found similar topic and I used all fixes suggested
here such as replacing the SunflowAPIAPI.java with r29, but still I have this error on the preference method, it also shows on other sunflow examples...
Looking at sunflow javadoc, none of the parameter setter methods there accepted these arguments. See below images.