Lines Matching refs:box
81 AABB::Set(const AABB* box, const MTX34* M) in Set() argument
90 x0 = M->f._00 * box->Pmin.x + M->f._03; in Set()
91 x1 = M->f._00 * box->Pmax.x + M->f._03; in Set()
92 a0 = M->f._01 * box->Pmin.y; in Set()
93 a1 = M->f._01 * box->Pmax.y; in Set()
94 b0 = M->f._02 * box->Pmin.z; in Set()
95 b1 = M->f._02 * box->Pmax.z; in Set()
105 y0 = M->f._10 * box->Pmin.x + M->f._13; in Set()
106 y1 = M->f._10 * box->Pmax.x + M->f._13; in Set()
107 a0 = M->f._11 * box->Pmin.y; in Set()
108 a1 = M->f._11 * box->Pmax.y; in Set()
109 b0 = M->f._12 * box->Pmin.z; in Set()
110 b1 = M->f._12 * box->Pmax.z; in Set()
120 z0 = M->f._20 * box->Pmin.x + M->f._23; in Set()
121 z1 = M->f._20 * box->Pmax.x + M->f._23; in Set()
122 a0 = M->f._21 * box->Pmin.y; in Set()
123 a1 = M->f._21 * box->Pmax.y; in Set()
124 b0 = M->f._22 * box->Pmin.z; in Set()
125 b1 = M->f._22 * box->Pmax.z; in Set()
219 box.Set(&P[0], 8); in Set()
1243 IntersectionRay3AABB(const RAY3* R, const AABB* box, f32* t) in IntersectionRay3AABB() argument
1249 result = IntersectionRay3AABB_(box->Pmin.x, box->Pmax.x, R->P.x, R->d.x, tNear, tFar); in IntersectionRay3AABB()
1253 result = IntersectionRay3AABB_(box->Pmin.y, box->Pmax.y, R->P.y, R->d.y, tNear, tFar); in IntersectionRay3AABB()
1257 result = IntersectionRay3AABB_(box->Pmin.z, box->Pmax.z, R->P.z, R->d.z, tNear, tFar); in IntersectionRay3AABB()
1460 if (!IntersectionAABB(B, &box)) in IntersectAABB()
1487 if (!IntersectionAABB(B, &box)) in IntersectAABB_Ex()