Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/graphics_SanAngeles/src/
Dmatrixop.c88 float one_c = 1.f - c; in Matrix4x4_Rotate() local
106 rot[1*4 + 0] = xy * one_c - zs; in Matrix4x4_Rotate()
107 rot[2*4 + 0] = xz * one_c + ys; in Matrix4x4_Rotate()
110 rot[0*4 + 1] = xy * one_c + zs; in Matrix4x4_Rotate()
112 rot[2*4 + 1] = yz * one_c - xs; in Matrix4x4_Rotate()
115 rot[0*4 + 2] = xz * one_c - ys; in Matrix4x4_Rotate()
116 rot[1*4 + 2] = yz * one_c + xs; in Matrix4x4_Rotate()
/external/mesa3d/src/mesa/math/
Dm_matrix.c803 GLfloat xx, yy, zz, xy, yz, zx, xs, ys, zs, one_c, s, c; in _math_matrix_rotate() local
939 one_c = 1.0F - c; in _math_matrix_rotate()
942 M(0,0) = (one_c * xx) + c; in _math_matrix_rotate()
943 M(0,1) = (one_c * xy) - zs; in _math_matrix_rotate()
944 M(0,2) = (one_c * zx) + ys; in _math_matrix_rotate()
947 M(1,0) = (one_c * xy) + zs; in _math_matrix_rotate()
948 M(1,1) = (one_c * yy) + c; in _math_matrix_rotate()
949 M(1,2) = (one_c * yz) - xs; in _math_matrix_rotate()
952 M(2,0) = (one_c * zx) - ys; in _math_matrix_rotate()
953 M(2,1) = (one_c * yz) + xs; in _math_matrix_rotate()
[all …]