Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
DObjImporter.java86 ArrayList<Float> normals = new ArrayList<Float>(); in parse() local
145 if (idx < 0) idx = (normals.size() / 3) + idx; in parse()
165 normals.add(Float.parseFloat(parts.nextToken())); in parse()
166 normals.add(Float.parseFloat(parts.nextToken())); in parse()
167 normals.add(Float.parseFloat(parts.nextToken())); in parse()
196 if (normals.size() == 0) { in parse()
202 aNormals[ni] = normals.get(normalIndex); in parse()
203 aNormals[ni + 1] = normals.get(normalIndex + 1); in parse()
204 aNormals[ni + 2] = normals.get(normalIndex + 2); in parse()
/cts/tests/openglperf2/jni/graphics/
DMesh.cpp16 Mesh::Mesh(const float* vertices, const float* normals, const float* texCoords, in Mesh() argument
19 mNormals(normals), in Mesh()
DGLUtils.cpp102 float* normals = new float[numVertices * 3]; in loadMesh() local
114 normals[vIndex + 0] = readFloat(buffer + index); in loadMesh()
116 normals[vIndex + 1] = readFloat(buffer + index); in loadMesh()
118 normals[vIndex + 2] = readFloat(buffer + index); in loadMesh()
127 return new Mesh(vertices, normals, texCoords, numVertices); in loadMesh()
DMesh.h23 Mesh(const float* vertices, const float* normals, const float* texCoords,