fix typos

This commit is contained in:
Garux 2018-10-07 23:36:13 +03:00
parent 502cc59eee
commit 614885f1fb
4 changed files with 5 additions and 5 deletions

View File

@ -39,7 +39,7 @@ typedef struct {
typedef struct {
int planeNum;
int children[2]; // negative numbers are -(leafs+1), not nodes
int mins[3]; // for frustom culling
int mins[3]; // for frustum culling
int maxs[3];
} dnode_t;

View File

@ -402,7 +402,7 @@ typedef struct {
int contentFlags;
} dshader_t;
// planes x^1 is allways the opposite of plane x
// planes x^1 is always the opposite of plane x
typedef struct {
float normal[3];
@ -412,7 +412,7 @@ typedef struct {
typedef struct {
int planeNum;
int children[2]; // negative numbers are -(leafs+1), not nodes
int mins[3]; // for frustom culling
int mins[3]; // for frustum culling
int maxs[3];
} dnode_t;

View File

@ -260,7 +260,7 @@ void Cmd_Colormap( void ){
*lump_p++ = BestColor( red,green,blue, 1, 254 );
}
// fullbrights allways stay the same
// fullbrights always stay the same
for ( ; c < 256 ; c++ )
*lump_p++ = c;
}

View File

@ -125,7 +125,7 @@ int CreateNewFloatPlane( vec3_t normal, vec_t dist ){
nummapplanes += 2;
// allways put axial planes facing positive first
// always put axial planes facing positive first
if ( p->type < 3 ) {
if ( p->normal[0] < 0 || p->normal[1] < 0 || p->normal[2] < 0 ) {
// flip order