ArrayIndexOutOfBoundsException occurring only when using P2D scale()
in
Programming Questions
•
2 years ago
I'm avoiding OPENGL because it has serious memory issues when dynamically loading images.
I don't seem to be able to use P3D as the ControlP5 menus are unreadable. However, scaling everything that is drawn on screen from 0->10.0 works fine.
When I switch to P2D, I get an "ArrayIndexOutOfBoundsException: 720" that occurs when I scale(5.7);
Does anyone have any ideas what could cause this behaviour? Why would an array behave fine under P3D scaling but not under P2D scaling?
Thanks
1