p5sunflow
p5sunflow copied to clipboard
Problem with triangles
I think the problem with triangles is down to the flatten method in PSShape.java. There are two flatten methods one for Float[] and the other for Integer[]. If they are given different names eg call the latter one flattenI (crap font not ell is sounds like 'eye'). Anyway compiles and runs OK for me. For efficiency you could consider replacing StringBuffer with StringBuilder?