fix spelling
This commit is contained in:
@@ -183,7 +183,7 @@ int aabb_intersect_ray( const aabb_t *aabb, const ray_t *ray, vec3_t intersectio
|
||||
const float *direction = ray->direction;
|
||||
|
||||
/* Find candidate planes; this loop can be avoided if
|
||||
rays cast all from the eye(assume perpsective view) */
|
||||
rays cast all from the eye(assume perspective view) */
|
||||
for ( i = 0; i < NUMDIM; i++ )
|
||||
{
|
||||
if ( origin[i] < ( aabb->origin[i] - aabb->extents[i] ) ) {
|
||||
|
||||
@@ -473,7 +473,7 @@ void NormalToLatLong( const vec3_t normal, byte bytes[2] ) {
|
||||
b &= 0xff;
|
||||
|
||||
bytes[0] = b; // longitude
|
||||
bytes[1] = a; // lattitude
|
||||
bytes[1] = a; // latitude
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user