diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-14 04:30:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-14 04:30:56 +0400 |
commit | 157656593206647499d0dedb66b2a483a5900a3b (patch) | |
tree | ab16bdcff9493a53e94491ad6630bc60811040a3 /source/blender/blenlib | |
parent | b1179c4752395b5b3247e5a22587f4b65e45d72d (diff) |
minor changes needed for building standalone mathutils.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/math_geom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c index 8430a42e8e3..bf20dd48486 100644 --- a/source/blender/blenlib/intern/math_geom.c +++ b/source/blender/blenlib/intern/math_geom.c @@ -1610,7 +1610,7 @@ bool isect_ray_aabb(const IsectRayAABBData *data, const float bb_min[3], tymax = (bbox[1 - data->sign[1]][1] - data->ray_start[1]) * data->ray_inv_dir[1]; if ((tmin > tymax) || (tymin > tmax)) - return FALSE; + return false; if (tymin > tmin) tmin = tymin; @@ -1622,7 +1622,7 @@ bool isect_ray_aabb(const IsectRayAABBData *data, const float bb_min[3], tzmax = (bbox[1 - data->sign[2]][2] - data->ray_start[2]) * data->ray_inv_dir[2]; if ((tmin > tzmax) || (tzmin > tmax)) - return FALSE; + return false; if (tzmin > tmin) tmin = tzmin; @@ -1634,7 +1634,7 @@ bool isect_ray_aabb(const IsectRayAABBData *data, const float bb_min[3], if (tmin_out) (*tmin_out) = tmin; - return TRUE; + return true; } /* find closest point to p on line through (l1, l2) and return lambda, |