mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 01:41:10 +00:00
Make some code more readable.
This commit is contained in:
parent
16e067c8cb
commit
f4bff1d3b0
1 changed files with 2 additions and 6 deletions
|
@ -304,14 +304,10 @@ ReadClipHull (int hullnum)
|
|||
&c1, &c2) != 7)
|
||||
Sys_Error ("Error parsing %s", options.hullfile);
|
||||
|
||||
p.normal[0] = f1;
|
||||
p.normal[1] = f2;
|
||||
p.normal[2] = f3;
|
||||
VectorSet (f1, f2, f3, p.normal);
|
||||
p.dist = f4;
|
||||
|
||||
norm[0] = f1;
|
||||
norm[1] = f2;
|
||||
norm[2] = f3; // vec_t precision
|
||||
VectorSet (f1, f2, f3, norm);
|
||||
p.type = PlaneTypeForNormal (norm);
|
||||
|
||||
d.children[0] = c1 >= 0 ? c1 + firstclipnode : c1;
|
||||
|
|
Loading…
Reference in a new issue