StackOverflowError

Started by raft, July 29, 2010, 12:46:42 AM

Previous topic - Next topic

EgonOlsen

Well, it's actually better than i had expected... ;)

Oh, and while you are there: The Android version of GLFont doesn't seem to set the content of the charWidths-array, so that the width of any string is always 0 when using getStringBounds(). Do you have a working version of this?

raft

sure. here it's
http://aptalkarga.com/download/android/AGLFont.java

this version also accepts char arrays instead of strings to avoid string creation if possible

so what do you think of compiling multiple objects into one ?

raft


EgonOlsen

Thanx!

Compiling multiple objects into one isn't really possible, because even if geometry and texture usage is the same, the transformations are not. You can't pack everything into one compiled chunk without making the use the same transformation matrix, which doesn't make any sense for multiple objects.