see attached file...
the solution is inside the Face-Object:
the following methods need to be corrected:
public int[] getNormalIndices()
public int[] getTextureIndices()
into this (suggestion)
public int[] getNormalIndices() {
int[] v = new int[getNormalIndexCount()];
for (int i = 0; i < v.length; i++)
v[i] = getNormalIndex(i);
return v;
}
public int[] getTextureIndices() {
int[] v = new int[getTextureIndexCount()];
for (int i = 0; i < v.length; i++)
v[i] = getTextureIndex(i);
return v;
}
plus the following methods need to be added:
public int getTextureIndexCount() {
return uvIndices.size();
}
public int getNormalIndexCount() {
return normalIndices.size();
}
cheers
martin
Original issue reported on code.google.com by maybi...@gmail.com on 7 Feb 2010 at 10:20
Original issue reported on code.google.com by
maybi...@gmail.com
on 7 Feb 2010 at 10:20Attachments: