Lines Matching full:center
104 // BBoxes: To test an axis-aligned bbox, test the center against each plane
109 // Spheres: To test a sphere, test the center against each plane
241 Vec3<T> center = sphere.center; in isVisible() local
245 Vec3<T> d0 = planeNormX[0] * center.x in isVisible()
246 + planeNormY[0] * center.y in isVisible()
247 + planeNormZ[0] * center.z in isVisible()
254 Vec3<T> d1 = planeNormX[1] * center.x in isVisible()
255 + planeNormY[1] * center.y in isVisible()
256 + planeNormZ[1] * center.z in isVisible()
275 Vec3<T> center = sphere.center; in completelyContains() local
279 Vec3<T> d0 = planeNormX[0] * center.x in completelyContains()
280 + planeNormY[0] * center.y in completelyContains()
281 + planeNormZ[0] * center.z in completelyContains()
288 Vec3<T> d1 = planeNormX[1] * center.x in completelyContains()
289 + planeNormY[1] * center.y in completelyContains()
290 + planeNormZ[1] * center.z in completelyContains()
309 Vec3<T> center = (box.min + box.max) / 2; in isVisible() local
310 Vec3<T> extent = (box.max - center); in isVisible()
313 Vec3<T> d0 = planeNormX[0] * center.x in isVisible()
314 + planeNormY[0] * center.y in isVisible()
315 + planeNormZ[0] * center.z in isVisible()
324 Vec3<T> d1 = planeNormX[1] * center.x in isVisible()
325 + planeNormY[1] * center.y in isVisible()
326 + planeNormZ[1] * center.z in isVisible()
347 Vec3<T> center = (box.min + box.max) / 2; in completelyContains() local
348 Vec3<T> extent = (box.max - center); in completelyContains()
351 Vec3<T> d0 = planeNormX[0] * center.x in completelyContains()
352 + planeNormY[0] * center.y in completelyContains()
353 + planeNormZ[0] * center.z in completelyContains()
362 Vec3<T> d1 = planeNormX[1] * center.x in completelyContains()
363 + planeNormY[1] * center.y in completelyContains()
364 + planeNormZ[1] * center.z in completelyContains()