Searched refs:quaternion (Results 1 – 4 of 4) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/ |
D | ModelMatrixCalculator.java | 73 float[] quaternion) { in calculateModelMatrix() argument 97 quaternionMatrix = MathsUtils.quaternionMatrixOpenGL(quaternion); in calculateModelMatrix() 125 public void updateModelMatrix(float[] translation, float[] quaternion) { in updateModelMatrix() argument 127 mModelMatrix = calculateModelMatrix(convertedTranslation, quaternion); in updateModelMatrix() 130 public void setDevice2IMUMatrix(float[] translation, float[] quaternion) { in setDevice2IMUMatrix() argument 131 mDevice2IMUMatrix = MathsUtils.quaternionMatrixOpenGL(quaternion); in setDevice2IMUMatrix() 137 public void setColorCamera2IMUMatrix(float[] translation, float[] quaternion) { in setColorCamera2IMUMatrix() argument 141 mColorCamera2IMUMatrix = MathsUtils.quaternionMatrixOpenGL(quaternion); in setColorCamera2IMUMatrix()
|
D | ConeModelMatrixCalculator.java | 38 public void updateModelMatrix(float[] translation, float[] quaternion, float[] lookAtPosition) { in updateModelMatrix() argument 41 float[] newModelMatrix = calculateModelMatrix(convertedTranslation, quaternion); in updateModelMatrix()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ |
D | MathsUtils.java | 148 public static float[] quaternionMatrixOpenGL(float[] quaternion) { in quaternionMatrixOpenGL() argument 150 normalizeVector(quaternion); in quaternionMatrixOpenGL() 152 float x = quaternion[0]; in quaternionMatrixOpenGL() 153 float y = quaternion[1]; in quaternionMatrixOpenGL() 154 float z = quaternion[2]; in quaternionMatrixOpenGL() 155 float w = quaternion[3]; in quaternionMatrixOpenGL()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/Renderable/ |
D | ConeRenderable.java | 106 public void setDevice2IMUMatrix(float[] translation, float[] quaternion) { in setDevice2IMUMatrix() argument 107 mModelMatrixCalculator.setDevice2IMUMatrix(translation, quaternion); in setDevice2IMUMatrix() 110 public void setColorCamera2IMUMatrix(float[] translation, float[] quaternion) { in setColorCamera2IMUMatrix() argument 111 mModelMatrixCalculator.setColorCamera2IMUMatrix(translation, quaternion); in setColorCamera2IMUMatrix()
|