mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-22 04:01:17 +00:00
fix up some comments (taking a break tonight, I guess:)
This commit is contained in:
parent
ded66b1bde
commit
9a44a9fe17
1 changed files with 4 additions and 2 deletions
|
@ -50,13 +50,13 @@ static const int face_loop[6][5] = {
|
|||
{0, 2, 3, 5, 0},
|
||||
{0, 4, 3, 1, 0},
|
||||
};
|
||||
/* convert axis and face distance into face*/
|
||||
/* convert axis and face distance into face */
|
||||
static const int faces_table[3][6] = {
|
||||
{-1, 0, 0, -1, 3, 3},
|
||||
{-1, 4, 4, -1, 1, 1},
|
||||
{-1, 2, 2, -1, 5, 5},
|
||||
};
|
||||
/* axis the cube face cuts (also index into vec3_t for) */
|
||||
/* axis the cube face cuts (also index into vec3_t and n % 3 for 0 <= n < 6) */
|
||||
static const int face_axis[] = {0, 1, 2, 0, 1, 2};
|
||||
/* offset on the axis the cube face cuts */
|
||||
static const vec_t face_offset[] = {1024, 1024, 1024, -1024, -1024, -1024};
|
||||
|
@ -206,6 +206,8 @@ set_vertex (struct box_def *box, int face, int ind, vec3_t v)
|
|||
|
||||
/*
|
||||
add_vertex
|
||||
|
||||
append a vertex to the poly vertex list.
|
||||
*/
|
||||
static void
|
||||
add_vertex (struct box_def *box, int face, vec3_t v)
|
||||
|
|
Loading…
Reference in a new issue