/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/Shapes/ |
b2CircleShape.cpp | 40 return b2Dot(d, d) <= m_radius * m_radius; 54 float32 b = b2Dot(s, s) - m_radius * m_radius; 89 aabb->lowerBound.Set(p.x - m_radius, p.y - m_radius); 90 aabb->upperBound.Set(p.x + m_radius, p.y + m_radius); 95 massData->mass = density * b2_pi * m_radius * m_radius; [all...] |
b2EdgeShape.h | 65 m_radius = b2_polygonRadius;
|
b2Shape.h | 93 float32 m_radius; member in class:b2Shape
|
b2EdgeShape.cpp | 127 b2Vec2 r(m_radius, m_radius);
|
b2ChainShape.h | 111 m_radius = b2_polygonRadius;
|
b2CircleShape.h | 68 m_radius = 0.0f;
|
b2PolygonShape.h | 90 m_radius = b2_polygonRadius;
|
b2ChainShape.cpp | 114 edge->m_radius = m_radius;
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/ |
btConeShape.cpp | 21 m_radius (radius), 27 m_sinAngle = (m_radius / btSqrt(m_radius * m_radius + m_height * m_height)); 66 m_implicitShapeDimensions[m_coneIndices[0]] = m_radius; 68 m_implicitShapeDimensions[m_coneIndices[2]] = m_radius; 88 btScalar d = m_radius / s; 144 m_radius *= (scaling[r1] / m_localScaling[r1] + scaling[r2] / m_localScaling[r2]) / 2; 145 m_sinAngle = (m_radius / btSqrt(m_radius * m_radius + m_height * m_height)) [all...] |
btConvexPolyhedron.h | 52 btScalar m_radius; variable
|
btMultiSphereShape.h | 80 float m_radius; member in struct:btPositionAndRadius
|
btConeShape.h | 28 btScalar m_radius; variable 43 btScalar getRadius() const { return m_radius;}
|
btConvexPolyhedron.cpp | 199 m_radius = FLT_MAX; 204 if(dist<m_radius) 205 m_radius = dist; 230 // const btScalar r = m_radius / sqrtf(2.0f); 231 const btScalar r = m_radius / sqrtf(3.0f); 254 const btScalar Step = (m_radius - r)/1024.0f;
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/shapes/ |
Shape.java | 40 public float m_radius; field in class:Shape 62 return m_radius; 72 this.m_radius = radius;
|
CircleShape.java | 46 m_radius = 0; 53 shape.m_radius = m_radius; 107 // return Vec2.dot(d, d) <= m_radius * m_radius; 113 return centerx * centerx + centery * centery <= m_radius * m_radius; 126 return d1 - m_radius; 149 // final float b = Vec2.dot(s, s) - m_radius * m_radius; [all...] |
EdgeShape.java | 65 m_radius = Settings.polygonRadius; 229 lowerBound.x -= m_radius; 230 lowerBound.y -= m_radius; 231 upperBound.x += m_radius; 232 upperBound.y += m_radius; 245 edge.m_radius = this.m_radius;
|
ChainShape.java | 56 m_radius = Settings.polygonRadius; 70 edge.m_radius = m_radius;
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/box2d/ |
OneSidedPlatform.java | 51 float m_radius;
field in class:OneSidedPlatform 84 m_radius = 0.5f;
86 shape.setRadius(m_radius);
99 if (position.y < m_top + m_radius - 3.0f * 0.005f)
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/ |
com.badlogic.gdx.physics.box2d.Shape.cpp | 12 return shape->m_radius; 23 shape->m_radius = radius;
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/ |
b2CollideCircle.cpp | 35 float32 rA = circleA->m_radius, rB = circleB->m_radius; 65 float32 radius = polygonA->m_radius + circleB->m_radius;
|
b2Distance.h | 31 b2DistanceProxy() : m_vertices(NULL), m_count(0), m_radius(0.0f) {} 52 float32 m_radius; member in struct:b2DistanceProxy
|
b2Distance.cpp | 37 m_radius = circle->m_radius; 46 m_radius = polygon->m_radius; 67 m_radius = chain->m_radius; 76 m_radius = edge->m_radius; 580 float32 rA = proxyA->m_radius; 581 float32 rB = proxyB->m_radius; [all...] |
b2CollideEdge.cpp | 43 float32 radius = edgeA->m_radius + circleB->m_radius; 217 float32 m_radius; member in struct:b2EPCollider 435 m_radius = 2.0f * b2_polygonRadius; 447 if (edgeAxis.separation > m_radius) 453 if (polygonAxis.type != b2EPAxis::e_unknown && polygonAxis.separation > m_radius) 595 if (separation <= m_radius) 656 if (s > m_radius)
|
b2CollidePolygon.cpp | 121 float32 totalRadius = polyA->m_radius + polyB->m_radius;
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/ |
Distance.java | 479 public float m_radius; field in class:Distance.DistanceProxy 489 m_radius = 0f; 502 m_radius = circle.m_radius; 508 m_radius = poly.m_radius; 527 m_radius = chain.m_radius; 534 m_radius = edge.m_radius; [all...] |