jPCT-AE - a 3d engine for Android > Support

StackOverflowError

<< < (4/4)

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:
oops, it references a missing class
http://aptalkarga.com/download/android/Rectangle.java

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.

Navigation

[0] Message Index

[*] Previous page

Go to full version