Update MediaWiki page 'OB3'

This commit is contained in:
S 2012-11-25 21:09:23 +00:00 committed by moparisthebest
parent 9c1eebf720
commit bf1dc04d04

View File

@ -13,8 +13,8 @@ public class OB3Model {
public int gouraud_shade[]; public int gouraud_shade[];
public int vert_count; public int vert_count;
public int vert_x[]; public int vert_x[];
public int vert_z[];
public int vert_y[]; public int vert_y[];
public int vert_z[];
public int face_count; public int face_count;
public int face_v_count[]; public int face_v_count[];
public int face[][]; public int face[][];
@ -33,12 +33,12 @@ public class OB3Model {
} }
for (int v = 0; v < vert_count; v++) { for (int v = 0; v < vert_count; v++) {
vert_z[v] = Data.getSignedShort(data, offset); vert_y[v] = Data.getSignedShort(data, offset);
offset += 2; offset += 2;
} }
for (int v = 0; v < vert_count; v++) { for (int v = 0; v < vert_count; v++) {
vert_y[v] = Data.getSignedShort(data, offset); vert_z[v] = Data.getSignedShort(data, offset);
offset += 2; offset += 2;
} }