/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/ |
D | gim_tri_collision.h | 129 btVector3 m_vertices[3]; variable 137 return GIM_AABB(m_vertices[0],m_vertices[1],m_vertices[2],m_margin); in get_box() 142 TRIANGLE_NORMAL(m_vertices[0],m_vertices[1],m_vertices[2],normal); in get_normal() 147 TRIANGLE_PLANE(m_vertices[0],m_vertices[1],m_vertices[2],plane);; in get_plane() 152 m_vertices[0] = trans(m_vertices[0]); in apply_transform() 153 m_vertices[1] = trans(m_vertices[1]); in apply_transform() 154 m_vertices[2] = trans(m_vertices[2]); in apply_transform() 159 const btVector3 & e0 = m_vertices[edge_index]; in get_edge_plane() 160 const btVector3 & e1 = m_vertices[(edge_index+1)%3]; in get_edge_plane() 179 btVector3 xaxis = m_vertices[1] - m_vertices[0]; in get_triangle_transform() [all …]
|
D | btTriangleShapeEx.h | 77 btVector3 m_vertices[3]; 89 btVector3 normal = (m_vertices[1]-m_vertices[0]).cross(m_vertices[2]-m_vertices[0]); in buildTriPlane() 91 m_plane.setValue(normal[0],normal[1],normal[2],m_vertices[0].dot(normal)); in buildTriPlane() 103 const btVector3 & e0 = m_vertices[edge_index]; in get_edge_plane() 104 const btVector3 & e1 = m_vertices[(edge_index+1)%3]; in get_edge_plane() 110 m_vertices[0] = t(m_vertices[0]); in applyTransform() 111 m_vertices[1] = t(m_vertices[1]); in applyTransform() 112 m_vertices[2] = t(m_vertices[2]); in applyTransform()
|
D | btTriangleShapeEx.cpp | 69 btScalar dis0 = bt_distance_point_plane(m_plane,other.m_vertices[0]) - total_margin; in overlap_test_conservative() 71 btScalar dis1 = bt_distance_point_plane(m_plane,other.m_vertices[1]) - total_margin; in overlap_test_conservative() 73 btScalar dis2 = bt_distance_point_plane(m_plane,other.m_vertices[2]) - total_margin; in overlap_test_conservative() 78 dis0 = bt_distance_point_plane(other.m_plane,m_vertices[0]) - total_margin; in overlap_test_conservative() 80 dis1 = bt_distance_point_plane(other.m_plane,m_vertices[1]) - total_margin; in overlap_test_conservative() 82 dis2 = bt_distance_point_plane(other.m_plane,m_vertices[2]) - total_margin; in overlap_test_conservative() 102 … edgeplane,other.m_vertices[0],other.m_vertices[1],other.m_vertices[2],temp_points); in clip_triangle()
|
D | gim_box_set.h | 499 m_tri0.m_vertices[0] = trans_cache_0to1(m_tri0.m_vertices[0]); in retrieve_node0_triangle() 500 m_tri0.m_vertices[1] = trans_cache_0to1(m_tri0.m_vertices[1]); in retrieve_node0_triangle() 501 m_tri0.m_vertices[2] = trans_cache_0to1(m_tri0.m_vertices[2]); in retrieve_node0_triangle() 512 m_tri1.m_vertices[0] = trans_cache_1to0.transform(m_tri1.m_vertices[0]); in retrieve_node1_triangle() 513 m_tri1.m_vertices[1] = trans_cache_1to0.transform(m_tri1.m_vertices[1]); in retrieve_node1_triangle() 514 m_tri1.m_vertices[2] = trans_cache_1to0.transform(m_tri1.m_vertices[2]); in retrieve_node1_triangle() 553 m_tri0.m_vertices[0],m_tri0.m_vertices[1],m_tri0.m_vertices[2],m_tri0_plane); in node_collision() 568 m_tri1.m_vertices[0],m_tri1.m_vertices[1],m_tri1.m_vertices[2],m_tri1_plane); in node_collision()
|
D | gim_tri_collision.cpp | 632 m_vertices[0],m_vertices[1],m_vertices[2],m_margin, in collide_triangle_hard_test() 633 other.m_vertices[0],other.m_vertices[1],other.m_vertices[2],other.m_margin, in collide_triangle_hard_test()
|
D | btGImpactShape.h | 69 m_vertices[0] = v0; in setVertices() 70 m_vertices[1] = v1; in setVertices() 71 m_vertices[2] = v2; in setVertices() 72 m_vertices[3] = v3; in setVertices() 689 triangle.m_vertices[0], in get_primitive_box() 690 triangle.m_vertices[1],triangle.m_vertices[2],triangle.m_margin); in get_primitive_box() 697 get_vertex(indices[0],triangle.m_vertices[0]); in get_primitive_triangle() 698 get_vertex(indices[1],triangle.m_vertices[1]); in get_primitive_triangle() 699 get_vertex(indices[2],triangle.m_vertices[2]); in get_primitive_triangle()
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/ |
D | btTetrahedronShape.cpp | 71 btVector3 worldVertex = t(m_vertices[i]); in getAabb() 84 m_vertices[m_numVertices++] = pt; in addVertex() 120 pa = m_vertices[0]; in getEdge() 121 pb = m_vertices[1]; in getEdge() 127 pa = m_vertices[0]; in getEdge() 128 pb = m_vertices[1]; in getEdge() 131 pa = m_vertices[1]; in getEdge() 132 pb = m_vertices[2]; in getEdge() 135 pa = m_vertices[2]; in getEdge() 136 pb = m_vertices[0]; in getEdge() [all …]
|
D | btConvexPolyhedron.cpp | 118 btVector3 edge = m_vertices[vp.m_v1]-m_vertices[vp.m_v0]; in initialize() 179 const btVector3& p0 = m_vertices[m_faces[i].m_indices[0]]; in initialize() 183 const btVector3& p1 = m_vertices[m_faces[i].m_indices[j]]; in initialize() 184 const btVector3& p2 = m_vertices[m_faces[i].m_indices[k]]; in initialize() 215 for(int i=0; i<m_vertices.size(); i++) in initialize() 217 const btVector3& pt = m_vertices[i]; in initialize() 281 int numVerts = m_vertices.size(); in project() 284 btVector3 pt = trans * m_vertices[i]; in project()
|
D | btShapeHull.cpp | 27 m_vertices.clear (); in btShapeHull() 35 m_vertices.clear (); in ~btShapeHull() 82 m_vertices.resize (static_cast<int>(hr.mNumOutputVertices)); in buildHull() 87 m_vertices[i] = hr.m_OutputVertices[i]; in buildHull() 111 return m_vertices.size (); in numVertices()
|
D | btBox2dShape.h | 32 btVector3 m_vertices[4]; in ATTRIBUTE_ALIGNED16() local 93 m_vertices[0].setValue(-boxHalfExtents.getX(),-boxHalfExtents.getY(),0); in ATTRIBUTE_ALIGNED16() 94 m_vertices[1].setValue(boxHalfExtents.getX(),-boxHalfExtents.getY(),0); in ATTRIBUTE_ALIGNED16() 95 m_vertices[2].setValue(boxHalfExtents.getX(),boxHalfExtents.getY(),0); in ATTRIBUTE_ALIGNED16() 96 m_vertices[3].setValue(-boxHalfExtents.getX(),boxHalfExtents.getY(),0); in ATTRIBUTE_ALIGNED16() 158 return &m_vertices[0]; in ATTRIBUTE_ALIGNED16()
|
D | btShapeHull.h | 32 btAlignedObjectArray<btVector3> m_vertices; in ATTRIBUTE_ALIGNED16() 53 return &m_vertices[0]; in ATTRIBUTE_ALIGNED16()
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/Shapes/ |
D | b2ChainShape.cpp | 32 b2Free(m_vertices); in Clear() 33 m_vertices = NULL; in Clear() 39 b2Assert(m_vertices == NULL && m_count == 0); in CreateLoop() 50 m_vertices = (b2Vec2*)b2Alloc(m_count * sizeof(b2Vec2)); in CreateLoop() 51 memcpy(m_vertices, vertices, count * sizeof(b2Vec2)); in CreateLoop() 52 m_vertices[count] = m_vertices[0]; in CreateLoop() 53 m_prevVertex = m_vertices[m_count - 2]; in CreateLoop() 54 m_nextVertex = m_vertices[1]; in CreateLoop() 61 b2Assert(m_vertices == NULL && m_count == 0); in CreateChain() 70 m_vertices = (b2Vec2*)b2Alloc(count * sizeof(b2Vec2)); in CreateChain() [all …]
|
D | b2PolygonShape.cpp | 33 m_vertices[0].Set(-hx, -hy); in SetAsBox() 34 m_vertices[1].Set( hx, -hy); in SetAsBox() 35 m_vertices[2].Set( hx, hy); in SetAsBox() 36 m_vertices[3].Set(-hx, hy); in SetAsBox() 47 m_vertices[0].Set(-hx, -hy); in SetAsBox() 48 m_vertices[1].Set( hx, -hy); in SetAsBox() 49 m_vertices[2].Set( hx, hy); in SetAsBox() 50 m_vertices[3].Set(-hx, hy); in SetAsBox() 64 m_vertices[i] = b2Mul(xf, m_vertices[i]); in SetAsBox() 233 m_vertices[i] = ps[hull[i]]; in Set() [all …]
|
D | b2ChainShape.h | 92 return m_vertices[index]; in GetVertex() 96 const b2Vec2* GetVertices() const { return m_vertices; } in GetVertices() 99 b2Vec2* m_vertices; variable 112 m_vertices = NULL; in b2ChainShape()
|
D | b2PolygonShape.h | 82 b2Vec2 m_vertices[b2_maxPolygonVertices]; variable 98 return m_vertices[index]; in GetVertex()
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/shapes/ |
D | ChainShape.java | 46 public Vec2[] m_vertices; field in ChainShape 55 m_vertices = null; in ChainShape() 72 final Vec2 v0 = m_vertices[index + 0]; in getChildEdge() 73 final Vec2 v1 = m_vertices[index + 1]; in getChildEdge() 80 Vec2 v = m_vertices[index - 1]; in getChildEdge() 91 Vec2 v = m_vertices[index + 2]; in getChildEdge() 125 Vec2 v = m_vertices[i1]; in raycast() 128 Vec2 v1 = m_vertices[i2]; in raycast() 147 final Vec2 vi1 = m_vertices[i1]; 148 final Vec2 vi2 = m_vertices[i2]; [all …]
|
D | PolygonShape.java | 54 public final Vec2 m_vertices[]; field in PolygonShape 78 m_vertices = new Vec2[Settings.maxPolygonVertices]; in PolygonShape() 79 for (int i = 0; i < m_vertices.length; i++) { in PolygonShape() 80 m_vertices[i] = new Vec2(); in PolygonShape() 95 shape.m_vertices[i].set(m_vertices[i]); in clone() 215 if (m_vertices[i] == null) { in set() 216 m_vertices[i] = new Vec2(); in set() 218 m_vertices[i].set(ps[hull[i]]); in set() 227 edge.set(m_vertices[i2]).subLocal(m_vertices[i1]); in set() 235 computeCentroidToOut(m_vertices, m_count, m_centroid); in set() [all …]
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/ |
D | b2Distance.h | 31 b2DistanceProxy() : m_vertices(NULL), m_count(0), m_radius(0.0f) {} in b2DistanceProxy() 50 const b2Vec2* m_vertices; member 104 return m_vertices[index]; in GetVertex() 110 float32 bestValue = b2Dot(m_vertices[0], d); in GetSupport() 113 float32 value = b2Dot(m_vertices[i], d); in GetSupport() 127 float32 bestValue = b2Dot(m_vertices[0], d); in GetSupportVertex() 130 float32 value = b2Dot(m_vertices[i], d); in GetSupportVertex() 138 return m_vertices[bestIndex]; in GetSupportVertex()
|
D | b2Distance.cpp | 35 m_vertices = &circle->m_p; in Set() 44 m_vertices = polygon->m_vertices; in Set() 55 m_buffer[0] = chain->m_vertices[index]; in Set() 58 m_buffer[1] = chain->m_vertices[index + 1]; in Set() 62 m_buffer[1] = chain->m_vertices[0]; in Set() 65 m_vertices = m_buffer; in Set() 74 m_vertices = &edge->m_vertex1; in Set()
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/ |
D | Distance.java | 477 public final Vec2[] m_vertices; field in Distance.DistanceProxy 483 m_vertices = new Vec2[Settings.maxPolygonVertices]; in DistanceProxy() 484 for (int i = 0; i < m_vertices.length; i++) { in DistanceProxy() 485 m_vertices[i] = new Vec2(); in DistanceProxy() 500 m_vertices[0].set(circle.m_p); in set() 510 m_vertices[i].set(poly.m_vertices[i]); in set() 517 m_buffer[0] = chain.m_vertices[index]; in set() 519 m_buffer[1] = chain.m_vertices[index + 1]; in set() 521 m_buffer[1] = chain.m_vertices[0]; in set() 524 m_vertices[0].set(m_buffer[0]); in set() [all …]
|
/external/deqp/modules/glshared/ |
D | glsRandomShaderCase.hpp | 50 const std::vector<float>& getVertices (void) const { return m_vertices; } in getVertices() 51 std::vector<float>& getVertices (void) { return m_vertices; } in getVertices() 58 std::vector<float> m_vertices; member in deqp::gls::VertexArray
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiBufferViewAccessTests.cpp | 98 std::vector<tcu::Vec4> m_vertices; member in vkt::api::__anon492b6f7d0111::BufferViewTestInstance 127 m_vertices.push_back(a); in createQuad() 128 m_vertices.push_back(c); in createQuad() 129 m_vertices.push_back(b); in createQuad() 132 m_vertices.push_back(c); in createQuad() 133 m_vertices.push_back(a); in createQuad() 134 m_vertices.push_back(d); in createQuad() 597 const VkDeviceSize vertexDataSize = m_vertices.size() * sizeof(tcu::Vec4); in BufferViewTestInstance() 616 deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), (size_t)vertexDataSize); in BufferViewTestInstance() 706 vk.cmdDraw(*m_cmdBuffer, (deUint32)m_vertices.size(), 1, 0, 0); in BufferViewTestInstance()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelinePushConstantTests.cpp | 155 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anoncc9e60580111::PushConstantGraphicsTestInstance 917 m_vertices = createQuad(1.0f); in PushConstantGraphicsTestInstance() 924 (VkDeviceSize)(sizeof(Vertex4RGBA) * m_vertices.size()), // VkDeviceSize size; in PushConstantGraphicsTestInstance() 937 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in PushConstantGraphicsTestInstance() 1031 const VkDeviceSize triangleOffset = (m_vertices.size() / TRIANGLE_COUNT) * sizeof(Vertex4RGBA); in PushConstantGraphicsTestInstance() 1045 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / TRIANGLE_COUNT), 1, 0, 0); in PushConstantGraphicsTestInstance() 1108 m_vertices = createQuad(0.5f); in verifyImage() 1115 for (size_t vertexNdx = 0; vertexNdx < m_vertices.size(); vertexNdx++) in verifyImage() 1117 m_vertices[vertexNdx].color.xyzw() = tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f); in verifyImage() 1126 m_vertices[vertexNdx].color.xyz() = tcu::Vec3(0.0f, 1.0f, 0.0f); in verifyImage() [all …]
|
D | vktPipelineMultisampleTests.cpp | 275 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon55f5fdbb0111::RasterizationSamplesInstance 298 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon55f5fdbb0111::MinSampleShadingInstance 322 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon55f5fdbb0111::SampleMaskInstance 345 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon55f5fdbb0111::AlphaToOneInstance 368 const std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon55f5fdbb0111::AlphaToCoverageInstance 835 , m_vertices (vertices) in RasterizationSamplesInstance() 885 refRenderer.draw(renderState, mapVkPrimitiveTopology(m_primitiveTopology), m_vertices); in verifyImage() 907 , m_vertices (vertices) in MinSampleShadingInstance() 927 …renderer (m_context, m_colorFormat, m_renderSize, m_primitiveTopology, m_vertices, m_multisampleSt… in iterate() 936 …renderer (m_context, m_colorFormat, m_renderSize, m_primitiveTopology, m_vertices, multisamplePara… in iterate() [all …]
|
D | vktPipelineBlendTests.cpp | 145 std::vector<Vertex4RGBA> m_vertices; member in vkt::pipeline::__anon0fde1c330111::BlendTestInstance 664 m_vertices = createOverlappingQuads(); in BlendTestInstance() 674 for (size_t vertexNdx = 0; vertexNdx < m_vertices.size(); vertexNdx++) in BlendTestInstance() 675 …m_vertices[vertexNdx].color = (m_vertices[vertexNdx].color - formatInfo.lookupBias) / formatInfo.l… in BlendTestInstance() 679 …deMemcpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4R… in BlendTestInstance() 762 const VkDeviceSize quadOffset = (m_vertices.size() / BlendTest::QUAD_COUNT) * sizeof(Vertex4RGBA); in BlendTestInstance() 770 vk.cmdDraw(*m_cmdBuffer, (deUint32)(m_vertices.size() / BlendTest::QUAD_COUNT), 1, 0, 0); in BlendTestInstance() 939 std::vector<Vertex4RGBA>(m_vertices.begin() + quadNdx * 6, in verifyImage() 940 m_vertices.begin() + (quadNdx + 1) * 6)); in verifyImage()
|