Adding a comment about the strange shared fields in BitmapTextPage
that I'm not going to touch with a ten foot pole.
This commit is contained in:
parent
7665fef2de
commit
3f1c696e26
@ -123,6 +123,13 @@ class BitmapTextPage extends Geometry {
|
|||||||
return clone;
|
return clone;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Here is where one might add JmeCloneable related stuff except
|
||||||
|
// the old clone() method doesn't actually bother to clone anything.
|
||||||
|
// The arrays and the pageQuads are shared across all BitmapTextPage
|
||||||
|
// clones and it doesn't seem to bother anything. That means the
|
||||||
|
// fields could probably just as well be static... but this code is
|
||||||
|
// all very fragile. I'm not tipping that particular boat today. -pspeed
|
||||||
|
|
||||||
void assemble(Letters quads) {
|
void assemble(Letters quads) {
|
||||||
pageQuads.clear();
|
pageQuads.clear();
|
||||||
quads.rewind();
|
quads.rewind();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user