Home
last modified time | relevance | path

Searched refs:pSphere (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/jni/android/opengl/
Dutil.cpp372 float* pSphere = sphere.mData; in util_computeBoundingSphere() local
376 *pSphere++ = x0 + dx * 0.5f; in util_computeBoundingSphere()
377 *pSphere++ = y0 + dy * 0.5f; in util_computeBoundingSphere()
378 *pSphere++ = z0 + dz * 0.5f; in util_computeBoundingSphere()
379 *pSphere++ = distance(dx, dy, dz) * 0.5f; in util_computeBoundingSphere()
401 static bool sphereHitsFrustum(const float* pFrustum, const float* pSphere) { in sphereHitsFrustum() argument
402 float x = pSphere[0]; in sphereHitsFrustum()
403 float y = pSphere[1]; in sphereHitsFrustum()
404 float z = pSphere[2]; in sphereHitsFrustum()
405 float negRadius = -pSphere[3]; in sphereHitsFrustum()
[all …]