Home
last modified time | relevance | path

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

/external/libkmsxx/kmscube/
DesTransform.c88 GLfloat oneMinusCos; in esRotate() local
104 oneMinusCos = 1.0f - cosAngle; in esRotate()
106 rotMat.m[0][0] = (oneMinusCos * xx) + cosAngle; in esRotate()
107 rotMat.m[0][1] = (oneMinusCos * xy) - zs; in esRotate()
108 rotMat.m[0][2] = (oneMinusCos * zx) + ys; in esRotate()
111 rotMat.m[1][0] = (oneMinusCos * xy) + zs; in esRotate()
112 rotMat.m[1][1] = (oneMinusCos * yy) + cosAngle; in esRotate()
113 rotMat.m[1][2] = (oneMinusCos * yz) - xs; in esRotate()
116 rotMat.m[2][0] = (oneMinusCos * zx) - ys; in esRotate()
117 rotMat.m[2][1] = (oneMinusCos * yz) + xs; in esRotate()
[all …]