Searched refs:tri (Results 1 – 2 of 2) sorted by relevance
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | ViewMatrix.java | 224 private void calcLook(TriData tri, float[] voxelDim, int w, int h) { in calcLook() argument 228 for (int i = 0; i < tri.mVert.length; i += 3) { in calcLook() 229 maxx = Math.max(tri.mVert[i], maxx); in calcLook() 230 minx = Math.min(tri.mVert[i], minx); in calcLook() 231 maxy = Math.max(tri.mVert[i + 1], maxy); in calcLook() 232 miny = Math.min(tri.mVert[i + 1], miny); in calcLook() 233 maxz = Math.max(tri.mVert[i + 2], maxz); in calcLook() 234 minz = Math.min(tri.mVert[i + 2], minz); in calcLook() 261 public void look(char dir, TriData tri, float[] voxelDim, int w, int h) { in look() argument 262 calcLook(tri, w, h); in look() [all …]
|
D | Transform.java | 118 public void lookAt(TriData tri, int w, int h) { in lookAt() argument 119 mViewMatrix.lookAt(tri, mVoxelDim, w, h); in lookAt() 123 public void look(char dir, TriData tri, int w, int h) { in look() argument 124 mViewMatrix.look(dir, tri, mVoxelDim, w, h); in look()
|