From df2f5171469ac2ca9eabcb632dd5b7574924a7df Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 26 Jul 2001 17:36:57 +0000 Subject: [PATCH] put in a couple of comments --- qw/source/sv_pr_cmds.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qw/source/sv_pr_cmds.c b/qw/source/sv_pr_cmds.c index c2ec284a8..2f42a20b1 100644 --- a/qw/source/sv_pr_cmds.c +++ b/qw/source/sv_pr_cmds.c @@ -1866,11 +1866,14 @@ PF_rotate_bbox (progs_t *pr) hull_t *hull = &pf_hull_list[h]; int i; + // set up the rotation matrix. the three orientation vectors form the + // columns of the rotation matrix for (i = 0; i < 3; i++) { m[i][0] = r[i]; m[i][1] = f[i]; m[i][2] = u[i]; } + // rotate the bounding box points for (i = 0; i < 3; i++) { mins[i] = DotProduct (m[i], mi); maxs[i] = DotProduct (m[i], ma);