Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/opengl/
Dpoly_clip.cpp65 float t, tu, tv; in poly_clip_to_halfspace() local
71 tu = sign*COORD(u, index) - u->sw*k; in poly_clip_to_halfspace()
72 for (v= &p->vert[0], i=p->n; i>0; i--, u=v, tu=tv, v++) { in poly_clip_to_halfspace()
76 if ((tu <= 0.0f) ^ (tv <= 0.0f)) { in poly_clip_to_halfspace()
78 t = tu/(tu-tv); in poly_clip_to_halfspace()