/cts/suite/cts/deviceTests/opengl/jni/graphics/ |
Mesh.cpp | 16 Mesh::Mesh(const float* vertices, const float* normals, const float* texCoords, 18 : mVertices(vertices),
|
Mesh.h | 23 Mesh(const float* vertices, const float* normals, const float* texCoords,
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_prim.h | 171 u_gs_prims_for_vertices(int primitive, int vertices) 175 return vertices; 177 return vertices / 2; 179 return vertices; 181 return vertices - 1; 183 return vertices / 3; 185 return vertices - 2; 187 return vertices - 2; 189 return vertices / 2; 191 return vertices - 1 [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_prim.h | 171 u_gs_prims_for_vertices(int primitive, int vertices) 175 return vertices; 177 return vertices / 2; 179 return vertices; 181 return vertices - 1; 183 return vertices / 3; 185 return vertices - 2; 187 return vertices - 2; 189 return vertices / 2; 191 return vertices - 1 [all...] |
/external/eigen/demos/opengl/ |
gpuhelper.cpp | 100 static float vertices[][3] = { local 111 glNormal3f(0,0,-1); glVertex3fv(vertices[0]); glVertex3fv(vertices[2]); glVertex3fv(vertices[3]); glVertex3fv(vertices[1]); 112 glNormal3f(0,0, 1); glVertex3fv(vertices[4]); glVertex3fv(vertices[5]); glVertex3fv(vertices[7]); glVertex3fv(vertices[6]); 113 glNormal3f(0,-1,0); glVertex3fv(vertices[0]); glVertex3fv(vertices[1]); glVertex3fv(vertices[5]); glVertex3fv(vertices[4]) [all...] |
icosphere.h | 20 const std::vector<Eigen::Vector3f>& vertices() const { return mVertices; } function in class:IcoSphere
|
/external/ceres-solver/internal/ceres/ |
graph_test.cc | 42 EXPECT_EQ(graph.vertices().size(), 0); 51 const HashSet<int>& vertices = graph.vertices(); local 52 EXPECT_EQ(vertices.size(), 2); 67 const HashSet<int>& vertices = graph.vertices(); local 69 EXPECT_EQ(vertices.size(), 2); 73 EXPECT_EQ(vertices.size(), 2);
|
parameter_block_ordering_test.cc | 88 const VertexSet& vertices = graph->vertices(); local 89 EXPECT_EQ(vertices.size(), 4); 92 EXPECT_TRUE(vertices.find(parameter_blocks[i]) != vertices.end()); 132 EXPECT_EQ(graph->vertices().size(), 0); 142 const VertexSet& vertices = graph->vertices(); local 144 EXPECT_EQ(vertices.size(), 3); 145 EXPECT_TRUE(vertices.find(parameter_blocks[0]) == vertices.end()) [all...] |
schur_ordering_test.cc | 88 const VertexSet& vertices = graph->vertices(); local 89 EXPECT_EQ(vertices.size(), 4); 92 EXPECT_TRUE(vertices.find(parameter_blocks[i]) != vertices.end()); 132 EXPECT_EQ(graph->vertices().size(), 0); 142 const VertexSet& vertices = graph->vertices(); local 144 EXPECT_EQ(vertices.size(), 3); 145 EXPECT_TRUE(vertices.find(parameter_blocks[0]) == vertices.end()) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/ |
EmitterMeshFaceShape.java | 34 this.vertices = new ArrayList<List<Vector3f>>(meshes.size()); 39 List<Vector3f> vertices = new ArrayList<Vector3f>(mesh.getTriangleCount() * 3); local 43 vertices.add(vertexTable[indices[0]]); 44 vertices.add(vertexTable[indices[1]]); 45 vertices.add(vertexTable[indices[2]]); 48 this.vertices.add(vertices); 60 int meshIndex = FastMath.nextRandomInt(0, vertices.size() - 1); 62 int vertIndex = FastMath.nextRandomInt(0, vertices.get(meshIndex).size() / 3 - 1) * 3; 66 store.addLocal(vertices.get(meshIndex).get(vertIndex)) [all...] |
EmitterMeshVertexShape.java | 20 * This emiter shape emits the particles from the given shape's vertices 25 protected List<List<Vector3f>> vertices; field in class:EmitterMeshVertexShape 51 this.vertices = new ArrayList<List<Vector3f>>(meshes.size()); 70 // adding data to vertices and normals 71 List<Vector3f> vertices = new ArrayList<Vector3f>(vertToNormalMap.size()); local 74 vertices.add(entry.getKey()); 77 this.vertices.add(vertices); 89 int meshIndex = FastMath.nextRandomInt(0, vertices.size() - 1); 90 int vertIndex = FastMath.nextRandomInt(0, vertices.get(meshIndex).size() - 1) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
draw_pt_decompose.h | 2 char *verts = (char *) vertices; \
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pt_decompose.h | 2 char *verts = (char *) vertices; \
|
/external/jmonkeyengine/engine/src/test/jme3test/texture/ |
TestTextureArray.java | 43 Vector3f[] vertices = new Vector3f[8]; local 44 vertices[0] = new Vector3f(0, 0, 0); 45 vertices[1] = new Vector3f(3, 0, 0); 46 vertices[2] = new Vector3f(0, 3, 0); 47 vertices[3] = new Vector3f(3, 3, 0); 49 vertices[4] = new Vector3f(3, 0, 0); 50 vertices[5] = new Vector3f(6, 0, 0); 51 vertices[6] = new Vector3f(3, 3, 0); 52 vertices[7] = new Vector3f(6, 3, 0); 67 m.setBuffer(Type.Position, 3, BufferUtils.createFloatBuffer(vertices)); [all...] |
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/util/ |
NativeMeshUtil.java | 56 FloatBuffer vertices = mesh.getFloatBuffer(Type.Position);
local 57 vertices.rewind();
61 float tempFloat = vertices.get();
69 vertices.rewind();
70 vertices.clear();
|
/external/jmonkeyengine/engine/src/bullet-native/ |
com_jme3_bullet_util_NativeMeshUtil.cpp | 52 float* vertices = (float*) env->GetDirectBufferAddress(vertexIndexBase); local 53 btTriangleIndexVertexArray* array = new btTriangleIndexVertexArray(numTriangles, triangles, triangleIndexStride, numVertices, vertices, vertexStride);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d10tri/ |
d3d10tri.cpp | 36 static struct vertex vertices[3] = variable in typeref:struct:vertex 72 bufferd.ByteWidth = sizeof(vertices); 79 buffersd.pSysMem = vertices; 80 buffersd.SysMemPitch = sizeof(vertices); 81 buffersd.SysMemSlicePitch = sizeof(vertices);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11tri/ |
d3d11tri.cpp | 36 static struct vertex vertices[3] = variable in typeref:struct:vertex 73 bufferd.ByteWidth = sizeof(vertices); 81 buffersd.pSysMem = vertices; 82 buffersd.SysMemPitch = sizeof(vertices); 83 buffersd.SysMemSlicePitch = sizeof(vertices);
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d10tri/ |
d3d10tri.cpp | 36 static struct vertex vertices[3] = variable in typeref:struct:vertex 72 bufferd.ByteWidth = sizeof(vertices); 79 buffersd.pSysMem = vertices; 80 buffersd.SysMemPitch = sizeof(vertices); 81 buffersd.SysMemSlicePitch = sizeof(vertices);
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tri/ |
d3d11tri.cpp | 36 static struct vertex vertices[3] = variable in typeref:struct:vertex 73 bufferd.ByteWidth = sizeof(vertices); 81 buffersd.pSysMem = vertices; 82 buffersd.SysMemPitch = sizeof(vertices); 83 buffersd.SysMemSlicePitch = sizeof(vertices);
|
/external/chromium_org/third_party/angle/samples/gles2_book/Common/ |
esShapes.c | 46 /// \param vertices If not NULL, will contain array of float3 positions 53 int ESUTIL_API esGenSphere ( int numSlices, float radius, GLfloat **vertices, GLfloat **normals, 64 if ( vertices != NULL ) 65 *vertices = malloc ( sizeof(GLfloat) * 3 * numVertices ); 82 if ( vertices ) 84 (*vertices)[vertex + 0] = radius * sinf ( angleStep * (float)i ) * 86 (*vertices)[vertex + 1] = radius * cosf ( angleStep * (float)i ); 87 (*vertices)[vertex + 2] = radius * sinf ( angleStep * (float)i ) * 93 (*normals)[vertex + 0] = (*vertices)[vertex + 0] / radius; 94 (*normals)[vertex + 1] = (*vertices)[vertex + 1] / radius [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/ |
Surface.java | 88 Vector3f[] vertices = new Vector3f[(uSegments + 1) * (vSegments + 1)];
local 97 vertices[arrayIndex++] = interpolationResult;
120 Map<Vector3f, Vector3f> normalMap = new HashMap<Vector3f, Vector3f>(vertices.length);
122 Vector3f n = FastMath.computeNormal(vertices[indices[i]], vertices[indices[i + 1]], vertices[indices[i + 2]]);
123 this.addNormal(n, normalMap, smooth, vertices[indices[i]], vertices[indices[i + 1]], vertices[indices[i + 2]]);
125 //preparing normal list (the order of normals must match the order of vertices)
[all...] |
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/ |
DebugShapeFactory.java | 137 * Constructs the buffer for the vertices of the concave shape. 139 * @param concaveShape the shape to get the vertices for / from. 155 * @param convexShape the shape to retreieve the vertices from. 156 * @return the vertices as a FloatBuffer, ordered as Triangles. 176 // The number of bytes needed is: (floats in a vertex) * (vertices in a triangle) * (# of triangles) * (size of float in bytes) 178 FloatBuffer vertices = BufferUtils.createFloatBuffer(numberOfFloats); local 181 vertices.limit(numberOfFloats); 196 vertices.put(vertexA.x).put(vertexA.y).put(vertexA.z); 197 vertices.put(vertexB.x).put(vertexB.y).put(vertexB.z); 198 vertices.put(vertexC.x).put(vertexC.y).put(vertexC.z) 215 private ArrayList<Vector3f> vertices; field in class:BufferedTriangleCallback [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/ |
TestCustomMesh.java | 46 * How to create custom meshes by specifying vertices 64 Vector3f [] vertices = new Vector3f[4]; local 65 vertices[0] = new Vector3f(0,0,0); 66 vertices[1] = new Vector3f(3,0,0); 67 vertices[2] = new Vector3f(0,3,0); 68 vertices[3] = new Vector3f(3,3,0); 81 m.setBuffer(Type.Position, 3, BufferUtils.createFloatBuffer(vertices)); 107 //We have 4 vertices and 4 color values for each of them. 108 //If you have more vertices, you need 'new float[yourVertexCount * 4]' here!
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/custom/ |
CustomFilterMesh.cpp | 54 m_context->bufferData(GL_ARRAY_BUFFER, generator.vertices().size() * sizeof(float), generator.vertices().data(), GL_STATIC_DRAW);
|