Home
last modified time | relevance | path

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

/frameworks/base/opengl/java/android/opengl/
DMatrix.java655 float cz = (float) Math.cos(z); in setRotateEulerM() local
660 rm[rmOffset + 0] = cy * cz; in setRotateEulerM()
665 rm[rmOffset + 4] = cxsy * cz + cx * sz; in setRotateEulerM()
666 rm[rmOffset + 5] = -cxsy * sz + cx * cz; in setRotateEulerM()
670 rm[rmOffset + 8] = -sxsy * cz + sx * sz; in setRotateEulerM()
671 rm[rmOffset + 9] = sxsy * sz + sx * cz; in setRotateEulerM()
/frameworks/layoutlib/bridge/src/android/view/math/
DMath3DHelper.java84 double cz = 0; in centroid3d() local
100 cz += areaOfTriangle * (poly[i * 3 + 2] + poly[k * 3 + 2] + poly[0 * 3 + 2]); in centroid3d()
104 ret[2] = (float) (cz / (3 * area)); in centroid3d()