Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/math/
Dm_matrix.c797 GLfloat xx, yy, zz, xy, yz, zx, xs, ys, zs, one_c, s, c; in _math_matrix_rotate() local
933 one_c = 1.0F - c; in _math_matrix_rotate()
936 M(0,0) = (one_c * xx) + c; in _math_matrix_rotate()
937 M(0,1) = (one_c * xy) - zs; in _math_matrix_rotate()
938 M(0,2) = (one_c * zx) + ys; in _math_matrix_rotate()
941 M(1,0) = (one_c * xy) + zs; in _math_matrix_rotate()
942 M(1,1) = (one_c * yy) + c; in _math_matrix_rotate()
943 M(1,2) = (one_c * yz) - xs; in _math_matrix_rotate()
946 M(2,0) = (one_c * zx) - ys; in _math_matrix_rotate()
947 M(2,1) = (one_c * yz) + xs; in _math_matrix_rotate()
[all …]