mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
make the bbox output easier to read
This commit is contained in:
parent
8868a9d0bd
commit
cc41875968
1 changed files with 3 additions and 2 deletions
|
@ -51,11 +51,12 @@ for i in range (m[11]):
|
||||||
model = model[4:]
|
model = model[4:]
|
||||||
if t==0:
|
if t==0:
|
||||||
if m[1] == 6:
|
if m[1] == 6:
|
||||||
f = (t, unpack ("3B B 3B B 16s", model[:24]), [])
|
x = unpack ("3B B 3B B 16s", model[:24])
|
||||||
|
f = (t, ((x[:3], x[3]), (x[4:7], x[7]), x[8]), [])
|
||||||
model = model[24:]
|
model = model[24:]
|
||||||
else:
|
else:
|
||||||
x = unpack ("3B B 3B B", model[:8])
|
x = unpack ("3B B 3B B", model[:8])
|
||||||
f = (t, x, [])
|
f = (t, ((x[:3], x[3]), (x[4:7], x[7])), [])
|
||||||
model = model[8:]
|
model = model[8:]
|
||||||
for j in range(m[9]):
|
for j in range(m[9]):
|
||||||
x = unpack("3B B", model[:4])
|
x = unpack("3B B", model[:4])
|
||||||
|
|
Loading…
Reference in a new issue