Home
last modified time | relevance | path

Searched refs:numTriangles (Results 1 – 19 of 19) sorted by relevance

/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
DMeshCollisionShape.java53 protected int numVertices, numTriangles, vertexStride, triangleIndexStride; field in MeshCollisionShape
72 this.numTriangles = bulletMesh.numTriangles; in createCollisionMesh()
91 capsule.write(numTriangles, "numTriangles", 0); in write()
103 numTriangles = capsule.readInt("numTriangles", 0); in read()
115 bulletMesh.numTriangles = numTriangles; in createShape()
121 …TriangleIndexVertexArray tiv = new TriangleIndexVertexArray(numTriangles, triangleIndexBase, trian… in createShape()
DGImpactCollisionShape.java54 protected int numVertices, numTriangles, vertexStride, triangleIndexStride; field in GImpactCollisionShape
74 this.numTriangles = bulletMesh.numTriangles; in createCollisionMesh()
94 capsule.write(numTriangles, "numTriangles", 0); in write()
107 numTriangles = capsule.readInt("numTriangles", 0); in read()
119 bulletMesh.numTriangles = numTriangles; in createShape()
125 …TriangleIndexVertexArray tiv = new TriangleIndexVertexArray(numTriangles, triangleIndexBase, trian… in createShape()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
DGImpactCollisionShape.java56 protected int numVertices, numTriangles, vertexStride, triangleIndexStride; field in GImpactCollisionShape
79 numTriangles = mesh.getTriangleCount(); in createCollisionMesh()
113 capsule.write(numTriangles, "numTriangles", 0); in write()
126 numTriangles = capsule.readInt("numTriangles", 0); in read()
150 …eshUtil.createTriangleIndexVertexArray(triangleIndexBase, vertexBase, numTriangles, numVertices, v… in createShape()
DMeshCollisionShape.java56 protected int numVertices, numTriangles, vertexStride, triangleIndexStride; field in MeshCollisionShape
76 numTriangles = mesh.getTriangleCount(); in createCollisionMesh()
109 capsule.write(numTriangles, "numTriangles", 0); in write()
121 numTriangles = capsule.readInt("numTriangles", 0); in read()
143 …eshUtil.createTriangleIndexVertexArray(triangleIndexBase, vertexBase, numTriangles, numVertices, v… in createShape()
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
DStatistics.java51 protected int numTriangles; field in Statistics
103 data[1] = numTriangles; in getData()
126 numTriangles += mesh.getTriangleCount(lod); in onMeshDrawn()
196 numTriangles = 0; in clearFrame()
/external/jmonkeyengine/engine/src/bullet-native/
Dcom_jme3_bullet_util_NativeMeshUtil.cpp49 … jclass cls, jobject triangleIndexBase, jobject vertexIndexBase, jint numTriangles, jint numVertic… in Java_com_jme3_bullet_util_NativeMeshUtil_createTriangleIndexVertexArray() argument
53 …btTriangleIndexVertexArray* array = new btTriangleIndexVertexArray(numTriangles, triangles, triang… in Java_com_jme3_bullet_util_NativeMeshUtil_createTriangleIndexVertexArray()
Dcom_jme3_bullet_util_DebugShapeFactory.cpp112 int numberOfTriangles = hull->numTriangles(); in Java_com_jme3_bullet_util_DebugShapeFactory_getVertices()
/external/deqp/modules/gles3/functional/
Des3fShaderInvarianceTests.cpp206 const int numTriangles = 72; in init() local
208 std::vector<tcu::Vec4> triangles (numTriangles * 3 * 2); in init()
212 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in init()
224 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in init()
226 triangles[(numTriangles + triNdx)*3 + 0] = genRandomVector(rnd); in init()
227 triangles[(numTriangles + triNdx)*3 + 1] = genRandomVector(rnd); in init()
228 triangles[(numTriangles + triNdx)*3 + 2] = genRandomVector(rnd); in init()
237 m_verticesInPattern = numTriangles * 3; in init()
Des3fMultisampleTests.cpp667 const int numTriangles = 25; in renderPattern() local
668 for (int i = 0; i < numTriangles; i++) in renderPattern()
670 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles + 0.001f*(float)m_currentIteration; in renderPattern()
671 …float angle1 = 2.0f*DE_PI * (float)(i + 0.5f) / (float)numTriangles + 0.001f*(float)m_currentItera… in renderPattern()
1137 const int numTriangles = 25; in iterate() local
1138 for (int i = 0; i < numTriangles; i++) in iterate()
1140 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles; in iterate()
1141 float angle1 = 2.0f*DE_PI * (float)(i + 0.5f) / (float)numTriangles; in iterate()
1541 const int numTriangles = 25; in drawPattern() local
1542 for (int i = 0; i < numTriangles; i++) in drawPattern()
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderInvarianceTests.cpp206 const int numTriangles = 72; in init() local
208 std::vector<tcu::Vec4> triangles (numTriangles * 3 * 2); in init()
212 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in init()
224 for (int triNdx = 0; triNdx < numTriangles; ++triNdx) in init()
226 triangles[(numTriangles + triNdx)*3 + 0] = genRandomVector(rnd); in init()
227 triangles[(numTriangles + triNdx)*3 + 1] = genRandomVector(rnd); in init()
228 triangles[(numTriangles + triNdx)*3 + 2] = genRandomVector(rnd); in init()
237 m_verticesInPattern = numTriangles * 3; in init()
Des2fMultisampleTests.cpp511 const int numTriangles = 25; in renderPattern() local
512 for (int i = 0; i < numTriangles; i++) in renderPattern()
514 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles + 0.001f*(float)m_currentIteration; in renderPattern()
515 …float angle1 = 2.0f*DE_PI * (float)(i + 0.5f) / (float)numTriangles + 0.001f*(float)m_currentItera… in renderPattern()
990 const int numTriangles = 25; in iterate() local
991 for (int i = 0; i < numTriangles; i++) in iterate()
993 float angle0 = 2.0f*DE_PI * (float)i / (float)numTriangles; in iterate()
994 float angle1 = 2.0f*DE_PI * (float)(i + 0.5f) / (float)numTriangles; in iterate()
1403 const int numTriangles = 25; in drawPattern() local
1404 for (int i = 0; i < numTriangles; i++) in drawPattern()
[all …]
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/util/
DNativeMeshUtil.java52 int numTriangles = mesh.getTriangleCount(); in getTriangleIndexVertexArray() local
72 …return createTriangleIndexVertexArray(triangleIndexBase, vertexBase, numTriangles, numVertices, ve… in getTriangleIndexVertexArray()
/external/deqp/modules/gles31/functional/
Des31fMultisampleTests.cpp487 const int numTriangles = 25; in drawPattern() local
490 for (int triNdx = 0; triNdx < numTriangles; triNdx++) in drawPattern()
492 const float angle0 = 2.0f*DE_PI * (float)triNdx / (float)numTriangles; in drawPattern()
493 const float angle1 = 2.0f*DE_PI * (float)(triNdx + 0.5f) / (float)numTriangles; in drawPattern()
494 const Vec4 color = Vec4(0.4f + (float)triNdx/(float)numTriangles*0.6f, in drawPattern()
495 0.5f + (float)triNdx/(float)numTriangles*0.3f, in drawPattern()
496 0.6f - (float)triNdx/(float)numTriangles*0.5f, in drawPattern()
497 0.7f - (float)triNdx/(float)numTriangles*0.7f); in drawPattern()
Des31fShaderMultisampleInterpolationTests.cpp775 const int numTriangles = 200; in setupRenderData() local
777 std::vector<tcu::Vec4> data (numTriangles * 3 * 3); in setupRenderData()
780 m_renderCount = numTriangles * 3; in setupRenderData()
790 for (int triangleNdx = 0; triangleNdx < numTriangles; ++triangleNdx) in setupRenderData()
792 const float angle = ((float)triangleNdx) / numTriangles * 2.0f * DE_PI; in setupRenderData()
793 const float nextAngle = ((float)triangleNdx + 1.0f) / numTriangles * 2.0f * DE_PI; in setupRenderData()
Des31fPrimitiveBoundingBoxTests.cpp4083 const int numTriangles = rnd.getInt(1, 4); in createVbo() local
4091 drawObject.numVertices = numTriangles * 3; in createVbo()
4095 for (int triangleNdx = 0; triangleNdx < numTriangles; ++triangleNdx) in createVbo()
Des31fTessellationTests.cpp1476 const int numTriangles = aOrB == 0 ? numTrianglesA : numTrianglesB; in compareTriangleSets() local
1479 for (int triNdx = 0; triNdx < numTriangles; triNdx++) in compareTriangleSets()
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/
DDebugShapeFactory.java173 assert hull.numTriangles() > 0 : "Expecting the Hull shape to have triangles"; in getVertices()
174 int numberOfTriangles = hull.numTriangles(); in getVertices()
DConverter.java245 jBulletIndexedMesh.numTriangles = mesh.getTriangleCount(); in convert()
259 jmeMesh.setBuffer(Type.Index, 3, BufferUtils.createShortBuffer(mesh.numTriangles * 3)); in convert()
265 for (int i = 0; i < mesh.numTriangles * 3; i++) { in convert()
/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/strip/
DStripifier.java134 int numTriangles = numIndices / 3; in buildStripifyInfo() local
138 for (int i = 0; i < numTriangles; i++) { in buildStripifyInfo()