Lines Matching refs:max
65 int extvol_bbox(void *obj, vector *min, vector *max) { in extvol_bbox() argument
69 *max = b->max; in extvol_bbox()
81 vector max, in newextvol() argument
95 xvol->max = max; in newextvol()
175 if ((ry->o.x < bx->min.x) || (ry->o.x > bx->max.x)) in ext_volume_texture()
180 tx2 = (bx->max.x - ry->o.x) / ry->d.x; in ext_volume_texture()
197 if ((ry->o.y < bx->min.y) || (ry->o.y > bx->max.y)) in ext_volume_texture()
202 ty2 = (bx->max.y - ry->o.y) / ry->d.y; in ext_volume_texture()
219 if ((ry->o.z < bx->min.z) || (ry->o.z > bx->max.z)) in ext_volume_texture()
224 tz2 = (bx->max.z - ry->o.z) / ry->d.z; in ext_volume_texture()
247 bln.x = fabs(bx->min.x - bx->max.x); in ext_volume_texture()
248 bln.y = fabs(bx->min.y - bx->max.y); in ext_volume_texture()
249 bln.z = fabs(bx->min.z - bx->max.z); in ext_volume_texture()