Home
last modified time | relevance | path

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

/external/chromium_org/third_party/angle/samples/gles2_book/Common/
DesTransform.c65 GLfloat oneMinusCos; in esRotate() local
81 oneMinusCos = 1.0f - cosAngle; in esRotate()
83 rotMat.m[0][0] = (oneMinusCos * xx) + cosAngle; in esRotate()
84 rotMat.m[0][1] = (oneMinusCos * xy) - zs; in esRotate()
85 rotMat.m[0][2] = (oneMinusCos * zx) + ys; in esRotate()
88 rotMat.m[1][0] = (oneMinusCos * xy) + zs; in esRotate()
89 rotMat.m[1][1] = (oneMinusCos * yy) + cosAngle; in esRotate()
90 rotMat.m[1][2] = (oneMinusCos * yz) - xs; in esRotate()
93 rotMat.m[2][0] = (oneMinusCos * zx) - ys; in esRotate()
94 rotMat.m[2][1] = (oneMinusCos * yz) + xs; in esRotate()
[all …]