Changing scenegraph sample to use arrays.

Change-Id: Ifa454d503c1445efcad6e31243b65d75e62e3035
This commit is contained in:
Alex Sakhartchouk
2010-10-13 14:22:02 -07:00
parent 79c9254087
commit 9e401bcd88
6 changed files with 20 additions and 99 deletions

View File

@@ -342,7 +342,7 @@ public class Element extends BaseObj {
mElementNames = n;
mArraySizes = as;
for (int ct = 0; ct < mElements.length; ct++ ) {
mSize += mElements[ct].mSize;
mSize += mElements[ct].mSize * mArraySizes[ct];
}
}