fix up some comments (taking a break tonight, I guess:)

This commit is contained in:
Bill Currie 2000-11-21 07:49:58 +00:00
parent ded66b1bde
commit 9a44a9fe17

View file

@ -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)