Home
last modified time | relevance | path

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

/external/chromium_org/third_party/angle/samples/gles2_book/Common/
DesTransform.c66 ESMatrix rotMat; in esRotate() local
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()
86 rotMat.m[0][3] = 0.0F; 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()
91 rotMat.m[1][3] = 0.0F; in esRotate()
93 rotMat.m[2][0] = (oneMinusCos * zx) - ys; in esRotate()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DMatrix4f.java1547 public void setTransform(Vector3f position, Vector3f scale, Matrix3f rotMat) { in setTransform() argument
1554 m00 = scale.x * rotMat.m00; in setTransform()
1555 m01 = scale.y * rotMat.m01; in setTransform()
1556 m02 = scale.z * rotMat.m02; in setTransform()
1558 m10 = scale.x * rotMat.m10; in setTransform()
1559 m11 = scale.y * rotMat.m11; in setTransform()
1560 m12 = scale.z * rotMat.m12; in setTransform()
1562 m20 = scale.x * rotMat.m20; in setTransform()
1563 m21 = scale.y * rotMat.m21; in setTransform()
1564 m22 = scale.z * rotMat.m22; in setTransform()