Home
last modified time | relevance | path

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

/frameworks/rs/driver/runtime/
Drs_matrix.c371 float distToCenter = dot(left->xyz, sphere->xyz) + left->w; in rsIsSphereInFrustum() local
372 if (distToCenter < -sphere->w) { in rsIsSphereInFrustum()
375 distToCenter = dot(right->xyz, sphere->xyz) + right->w; in rsIsSphereInFrustum()
376 if (distToCenter < -sphere->w) { in rsIsSphereInFrustum()
379 distToCenter = dot(top->xyz, sphere->xyz) + top->w; in rsIsSphereInFrustum()
380 if (distToCenter < -sphere->w) { in rsIsSphereInFrustum()
383 distToCenter = dot(bottom->xyz, sphere->xyz) + bottom->w; in rsIsSphereInFrustum()
384 if (distToCenter < -sphere->w) { in rsIsSphereInFrustum()
387 distToCenter = dot(near->xyz, sphere->xyz) + near->w; in rsIsSphereInFrustum()
388 if (distToCenter < -sphere->w) { in rsIsSphereInFrustum()
[all …]
/frameworks/rs/script_api/
Drs_matrix.spec137 float distToCenter = dot(left->xyz, sphere->xyz) + left->w;
138 if (distToCenter < -sphere->w) {
141 distToCenter = dot(right->xyz, sphere->xyz) + right->w;
142 if (distToCenter < -sphere->w) {
145 distToCenter = dot(top->xyz, sphere->xyz) + top->w;
146 if (distToCenter < -sphere->w) {
149 distToCenter = dot(bottom->xyz, sphere->xyz) + bottom->w;
150 if (distToCenter < -sphere->w) {
153 distToCenter = dot(near->xyz, sphere->xyz) + near->w;
154 if (distToCenter < -sphere->w) {
[all …]
/frameworks/rs/script_api/include/
Drs_matrix.rsh141 float distToCenter = dot(left->xyz, sphere->xyz) + left->w;
142 if (distToCenter < -sphere->w) {
145 distToCenter = dot(right->xyz, sphere->xyz) + right->w;
146 if (distToCenter < -sphere->w) {
149 distToCenter = dot(top->xyz, sphere->xyz) + top->w;
150 if (distToCenter < -sphere->w) {
153 distToCenter = dot(bottom->xyz, sphere->xyz) + bottom->w;
154 if (distToCenter < -sphere->w) {
157 distToCenter = dot(near->xyz, sphere->xyz) + near->w;
158 if (distToCenter < -sphere->w) {
[all …]