mirror of
https://github.com/moparisthebest/rswiki-book
synced 2024-11-25 10:32:17 -05:00
Update MediaWiki page 'OB3'
This commit is contained in:
parent
9c1eebf720
commit
bf1dc04d04
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user