Home
last modified time | relevance | path

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

/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
DTriData.java31 protected float[] mVert; field in TriData
49 for (int i = 0; i < mVert.length; i += 3) { in print()
51 String s = (i / 3 + "[ " + df.f(mVert[i])); in print()
52 s += (", " + df.f(mVert[i + 1])); in print()
53 Log.v(LOGTAG, s + ", " + df.f(mVert[i + 2]) + "]"); in print()
59 mVert = Arrays.copyOf(clone.mVert, clone.mVert.length); in TriData()
64 for (int i = 0; i < mVert.length; i += 3) { in scale()
65 mVert[i] *= s[0]; in scale()
66 mVert[i + 1] *= s[1]; in scale()
67 mVert[i + 2] *= s[2]; in scale()
[all …]
DCube.java38 mVert = new float[]{ in Cube()
52 mVert = Arrays.copyOf(src.mVert, src.mVert.length); in clone()
62 return "CUBE[" + fs(mVert, 0, 3) + "][" + fs(mVert, 18, 3) + "]"; in toString()
81 mVert = new float[]{ in Cube()
DViewMatrix.java228 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()
248 for (int i = 0; i < triW.mVert.length; i += 3) { in calcLook()
249 maxx = Math.max(triW.mVert[i], maxx); in calcLook()
250 minx = Math.min(triW.mVert[i], minx); in calcLook()
[all …]
DBasicPipeline.java56 scriptC_rasterize.set_vert(state.mCubeScreen.mVert); in rasterizeTriangles()