Home | History | Annotate | Download | only in opengl

Lines Matching full:psphere

294     float* pSphere = sphere.mData;
298 *pSphere++ = x0 + dx * 0.5f;
299 *pSphere++ = y0 + dy * 0.5f;
300 *pSphere++ = z0 + dz * 0.5f;
301 *pSphere++ = distance(dx, dy, dz) * 0.5f;
323 static bool sphereHitsFrustum(const float* pFrustum, const float* pSphere) {
324 float x = pSphere[0];
325 float y = pSphere[1];
326 float z = pSphere[2];
327 float negRadius = -pSphere[3];
397 float* pSphere;
415 pSphere = spheres.mData;
418 for(int i = 0; i < spheresCount; i++, pSphere += 4) {
419 if (sphereHitsFrustum(frustum, pSphere)) {