Correct spelling mistakes.
This commit is contained in:
parent
14cb72f912
commit
fe42b8653d
105 changed files with 212 additions and 212 deletions
|
@ -1105,7 +1105,7 @@ static void CM_PatchCollideFromGrid( cGrid_t *grid, patchCollide_t *pf ) {
|
|||
numFacets++;
|
||||
}
|
||||
} else {
|
||||
// two seperate triangles
|
||||
// two separate triangles
|
||||
facet->surfacePlane = gridPlanes[i][j][0];
|
||||
facet->numBorders = 3;
|
||||
facet->borderPlanes[0] = borders[EN_TOP];
|
||||
|
@ -1214,7 +1214,7 @@ struct patchCollide_s *CM_GeneratePatchCollide( int width, int height, vec3_t *p
|
|||
CM_RemoveDegenerateColumns( &grid );
|
||||
|
||||
// we now have a grid of points exactly on the curve
|
||||
// the aproximate surface defined by these points will be
|
||||
// the approximate surface defined by these points will be
|
||||
// collided against
|
||||
pf = Hunk_Alloc( sizeof( *pf ), h_high );
|
||||
ClearBounds( pf->bounds[0], pf->bounds[1] );
|
||||
|
@ -1369,7 +1369,7 @@ int CM_CheckFacetPlane(float *plane, vec3_t start, vec3_t end, float *enterFrac,
|
|||
return qfalse;
|
||||
}
|
||||
|
||||
// if it doesn't cross the plane, the plane isn't relevent
|
||||
// if it doesn't cross the plane, the plane isn't relevant
|
||||
if (d1 <= 0 && d2 <= 0 ) {
|
||||
return qtrue;
|
||||
}
|
||||
|
@ -1433,7 +1433,7 @@ void CM_TraceThroughPatchCollide( traceWork_t *tw, const struct patchCollide_s *
|
|||
VectorCopy(planes->plane, plane);
|
||||
plane[3] = planes->plane[3];
|
||||
if ( tw->sphere.use ) {
|
||||
// adjust the plane distance apropriately for radius
|
||||
// adjust the plane distance appropriately for radius
|
||||
plane[3] += tw->sphere.radius;
|
||||
|
||||
// find the closest point on the capsule to the plane
|
||||
|
@ -1472,7 +1472,7 @@ void CM_TraceThroughPatchCollide( traceWork_t *tw, const struct patchCollide_s *
|
|||
plane[3] = planes->plane[3];
|
||||
}
|
||||
if ( tw->sphere.use ) {
|
||||
// adjust the plane distance apropriately for radius
|
||||
// adjust the plane distance appropriately for radius
|
||||
plane[3] += tw->sphere.radius;
|
||||
|
||||
// find the closest point on the capsule to the plane
|
||||
|
@ -1561,7 +1561,7 @@ qboolean CM_PositionTestInPatchCollide( traceWork_t *tw, const struct patchColli
|
|||
VectorCopy(planes->plane, plane);
|
||||
plane[3] = planes->plane[3];
|
||||
if ( tw->sphere.use ) {
|
||||
// adjust the plane distance apropriately for radius
|
||||
// adjust the plane distance appropriately for radius
|
||||
plane[3] += tw->sphere.radius;
|
||||
|
||||
// find the closest point on the capsule to the plane
|
||||
|
@ -1594,7 +1594,7 @@ qboolean CM_PositionTestInPatchCollide( traceWork_t *tw, const struct patchColli
|
|||
plane[3] = planes->plane[3];
|
||||
}
|
||||
if ( tw->sphere.use ) {
|
||||
// adjust the plane distance apropriately for radius
|
||||
// adjust the plane distance appropriately for radius
|
||||
plane[3] += tw->sphere.radius;
|
||||
|
||||
// find the closest point on the capsule to the plane
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue