mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-18 09:51:40 +00:00
fix some comments
This commit is contained in:
parent
8dce95b4ba
commit
9a7e4bc5e6
1 changed files with 4 additions and 4 deletions
|
@ -129,7 +129,7 @@ MOD_TraceLine (hull_t *hull, int num,
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// pop up the stack for a end_dist side
|
// pop up the stack for a back side
|
||||||
if (tstack-- == tracestack) {
|
if (tstack-- == tracestack) {
|
||||||
trace->allsolid = solid & (num == CONTENTS_SOLID);
|
trace->allsolid = solid & (num == CONTENTS_SOLID);
|
||||||
trace->startsolid = solid;
|
trace->startsolid = solid;
|
||||||
|
@ -139,7 +139,7 @@ MOD_TraceLine (hull_t *hull, int num,
|
||||||
// set the hit point for this plane
|
// set the hit point for this plane
|
||||||
VectorCopy (end, start);
|
VectorCopy (end, start);
|
||||||
|
|
||||||
// go down the end_dist side
|
// go down the back side
|
||||||
VectorCopy (tstack->end, end);
|
VectorCopy (tstack->end, end);
|
||||||
side = tstack->side;
|
side = tstack->side;
|
||||||
split_plane = tstack->plane;
|
split_plane = tstack->plane;
|
||||||
|
@ -172,12 +172,12 @@ MOD_TraceLine (hull_t *hull, int num,
|
||||||
actually on
|
actually on
|
||||||
*/
|
*/
|
||||||
if (start_dist >= offset && end_dist >= offset) {
|
if (start_dist >= offset && end_dist >= offset) {
|
||||||
// entierly in front of the plane
|
// entirely in front of the plane
|
||||||
num = node->children[0];
|
num = node->children[0];
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (start_dist <= -offset && end_dist <= -offset) {
|
if (start_dist <= -offset && end_dist <= -offset) {
|
||||||
// entierly behind the plane
|
// entirely behind the plane
|
||||||
num = node->children[1];
|
num = node->children[1];
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue