/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/Joints/ |
b2PulleyJoint.h | 45 const b2Vec2& groundAnchorA, const b2Vec2& groundAnchorB, 46 const b2Vec2& anchorA, const b2Vec2& anchorB, 50 b2Vec2 groundAnchorA; 53 b2Vec2 groundAnchorB; 56 b2Vec2 localAnchorA; 59 b2Vec2 localAnchorB; 82 b2Vec2 GetAnchorA() const; 83 b2Vec2 GetAnchorB() const [all...] |
b2FrictionJoint.h | 38 void Initialize(b2Body* bodyA, b2Body* bodyB, const b2Vec2& anchor); 41 b2Vec2 localAnchorA; 44 b2Vec2 localAnchorB; 58 b2Vec2 GetAnchorA() const; 59 b2Vec2 GetAnchorB() const; 61 b2Vec2 GetReactionForce(float32 inv_dt) const; 65 const b2Vec2& GetLocalAnchorA() const { return m_localAnchorA; } 68 const b2Vec2& GetLocalAnchorB() const { return m_localAnchorB; } 95 b2Vec2 m_localAnchorA; 96 b2Vec2 m_localAnchorB [all...] |
b2RopeJoint.h | 39 b2Vec2 localAnchorA; 42 b2Vec2 localAnchorB; 61 b2Vec2 GetAnchorA() const; 62 b2Vec2 GetAnchorB() const; 64 b2Vec2 GetReactionForce(float32 inv_dt) const; 68 const b2Vec2& GetLocalAnchorA() const { return m_localAnchorA; } 71 const b2Vec2& GetLocalAnchorB() const { return m_localAnchorB; } 92 b2Vec2 m_localAnchorA; 93 b2Vec2 m_localAnchorB; 101 b2Vec2 m_u [all...] |
b2MouseJoint.h | 39 b2Vec2 target; 65 b2Vec2 GetAnchorA() const; 68 b2Vec2 GetAnchorB() const; 71 b2Vec2 GetReactionForce(float32 inv_dt) const; 77 void SetTarget(const b2Vec2& target); 78 const b2Vec2& GetTarget() const; 96 void ShiftOrigin(const b2Vec2& newOrigin); 107 b2Vec2 m_localAnchorB; 108 b2Vec2 m_targetA; 114 b2Vec2 m_impulse [all...] |
b2DistanceJoint.h | 45 const b2Vec2& anchorA, const b2Vec2& anchorB); 48 b2Vec2 localAnchorA; 51 b2Vec2 localAnchorB; 71 b2Vec2 GetAnchorA() const; 72 b2Vec2 GetAnchorB() const; 76 b2Vec2 GetReactionForce(float32 inv_dt) const; 83 const b2Vec2& GetLocalAnchorA() const { return m_localAnchorA; } 86 const b2Vec2& GetLocalAnchorB() const { return m_localAnchorB; } 118 b2Vec2 m_localAnchorA [all...] |
b2GearJoint.h | 59 b2Vec2 GetAnchorA() const; 60 b2Vec2 GetAnchorB() const; 62 b2Vec2 GetReactionForce(float32 inv_dt) const; 99 b2Vec2 m_localAnchorA; 100 b2Vec2 m_localAnchorB; 101 b2Vec2 m_localAnchorC; 102 b2Vec2 m_localAnchorD; 104 b2Vec2 m_localAxisC; 105 b2Vec2 m_localAxisD; 117 b2Vec2 m_lcA, m_lcB, m_lcC, m_lcD [all...] |
b2WeldJoint.h | 41 void Initialize(b2Body* bodyA, b2Body* bodyB, const b2Vec2& anchor); 44 b2Vec2 localAnchorA; 47 b2Vec2 localAnchorB; 65 b2Vec2 GetAnchorA() const; 66 b2Vec2 GetAnchorB() const; 68 b2Vec2 GetReactionForce(float32 inv_dt) const; 72 const b2Vec2& GetLocalAnchorA() const { return m_localAnchorA; } 75 const b2Vec2& GetLocalAnchorB() const { return m_localAnchorB; } 106 b2Vec2 m_localAnchorA; 107 b2Vec2 m_localAnchorB [all...] |
b2PrismaticJoint.h | 49 void Initialize(b2Body* bodyA, b2Body* bodyB, const b2Vec2& anchor, const b2Vec2& axis); 52 b2Vec2 localAnchorA; 55 b2Vec2 localAnchorB; 58 b2Vec2 localAxisA; 89 b2Vec2 GetAnchorA() const; 90 b2Vec2 GetAnchorB() const; 92 b2Vec2 GetReactionForce(float32 inv_dt) const; 96 const b2Vec2& GetLocalAnchorA() const { return m_localAnchorA; } 99 const b2Vec2& GetLocalAnchorB() const { return m_localAnchorB; [all...] |
b2WheelJoint.h | 47 void Initialize(b2Body* bodyA, b2Body* bodyB, const b2Vec2& anchor, const b2Vec2& axis); 50 b2Vec2 localAnchorA; 53 b2Vec2 localAnchorB; 56 b2Vec2 localAxisA; 84 b2Vec2 GetAnchorA() const; 85 b2Vec2 GetAnchorB() const; 87 b2Vec2 GetReactionForce(float32 inv_dt) const; 91 const b2Vec2& GetLocalAnchorA() const { return m_localAnchorA; } 94 const b2Vec2& GetLocalAnchorB() const { return m_localAnchorB; [all...] |
b2MotorJoint.h | 41 b2Vec2 linearOffset; 62 b2Vec2 GetAnchorA() const; 63 b2Vec2 GetAnchorB() const; 65 b2Vec2 GetReactionForce(float32 inv_dt) const; 69 void SetLinearOffset(const b2Vec2& linearOffset); 70 const b2Vec2& GetLinearOffset() const; 108 b2Vec2 m_linearOffset; 110 b2Vec2 m_linearImpulse; 119 b2Vec2 m_rA; 120 b2Vec2 m_rB [all...] |
b2RevoluteJoint.h | 53 void Initialize(b2Body* bodyA, b2Body* bodyB, const b2Vec2& anchor); 56 b2Vec2 localAnchorA; 59 b2Vec2 localAnchorB; 93 b2Vec2 GetAnchorA() const; 94 b2Vec2 GetAnchorB() const; 97 const b2Vec2& GetLocalAnchorA() const { return m_localAnchorA; } 100 const b2Vec2& GetLocalAnchorB() const { return m_localAnchorB; } 144 b2Vec2 GetReactionForce(float32 inv_dt) const; 169 b2Vec2 m_localAnchorA; 170 b2Vec2 m_localAnchorB [all...] |
b2PulleyJoint.cpp | 36 const b2Vec2& groundA, const b2Vec2& groundB, 37 const b2Vec2& anchorA, const b2Vec2& anchorB, 46 b2Vec2 dA = anchorA - groundA; 48 b2Vec2 dB = anchorB - groundB; 84 b2Vec2 cA = data.positions[m_indexA].c; 86 b2Vec2 vA = data.velocities[m_indexA].v; 89 b2Vec2 cB = data.positions[m_indexB].c; 91 b2Vec2 vB = data.velocities[m_indexB].v [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/Shapes/ |
b2CircleShape.h | 37 bool TestPoint(const b2Transform& transform, const b2Vec2& p) const; 50 int32 GetSupport(const b2Vec2& d) const; 53 const b2Vec2& GetSupportVertex(const b2Vec2& d) const; 59 const b2Vec2& GetVertex(int32 index) const; 62 b2Vec2 m_p; 72 inline int32 b2CircleShape::GetSupport(const b2Vec2 &d) const 78 inline const b2Vec2& b2CircleShape::GetSupportVertex(const b2Vec2 &d) const 84 inline const b2Vec2& b2CircleShape::GetVertex(int32 index) cons [all...] |
b2EdgeShape.cpp | 23 void b2EdgeShape::Set(const b2Vec2& v1, const b2Vec2& v2) 44 bool b2EdgeShape::TestPoint(const b2Transform& xf, const b2Vec2& p) const 61 b2Vec2 p1 = b2MulT(xf.q, input.p1 - xf.p); 62 b2Vec2 p2 = b2MulT(xf.q, input.p2 - xf.p); 63 b2Vec2 d = p2 - p1; 65 b2Vec2 v1 = m_vertex1; 66 b2Vec2 v2 = m_vertex2; 67 b2Vec2 e = v2 - v1; 68 b2Vec2 normal(e.y, -e.x) [all...] |
b2ChainShape.h | 46 void CreateLoop(const b2Vec2* vertices, int32 count); 51 void CreateChain(const b2Vec2* vertices, int32 count); 55 void SetPrevVertex(const b2Vec2& prevVertex); 59 void SetNextVertex(const b2Vec2& nextVertex); 72 bool TestPoint(const b2Transform& transform, const b2Vec2& p) const; 89 const b2Vec2& GetVertex(int32 index) const 96 const b2Vec2* GetVertices() const { return m_vertices; } 99 b2Vec2* m_vertices; 104 b2Vec2 m_prevVertex, m_nextVertex;
|
b2PolygonShape.h | 44 void Set(const b2Vec2* points, int32 count); 56 void SetAsBox(float32 hx, float32 hy, const b2Vec2& center, float32 angle); 59 bool TestPoint(const b2Transform& transform, const b2Vec2& p) const; 75 const b2Vec2& GetVertex(int32 index) const; 81 b2Vec2 m_centroid; 82 b2Vec2 m_vertices[b2_maxPolygonVertices]; 83 b2Vec2 m_normals[b2_maxPolygonVertices]; 95 inline const b2Vec2& b2PolygonShape::GetVertex(int32 index) const
|
b2EdgeShape.h | 33 void Set(const b2Vec2& v1, const b2Vec2& v2); 42 bool TestPoint(const b2Transform& transform, const b2Vec2& p) const; 55 b2Vec2 m_vertex1, m_vertex2; 58 b2Vec2 m_vertex0, m_vertex3;
|
b2ChainShape.cpp | 37 void b2ChainShape::CreateLoop(const b2Vec2* vertices, int32 count) 43 b2Vec2 v1 = vertices[i-1]; 44 b2Vec2 v2 = vertices[i]; 50 m_vertices = (b2Vec2*)b2Alloc(m_count * sizeof(b2Vec2)); 51 memcpy(m_vertices, vertices, count * sizeof(b2Vec2)); 59 void b2ChainShape::CreateChain(const b2Vec2* vertices, int32 count) 70 m_vertices = (b2Vec2*)b2Alloc(count * sizeof(b2Vec2)); 71 memcpy(m_vertices, vertices, m_count * sizeof(b2Vec2)); [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Collision/ |
b2Distance.h | 38 int32 GetSupport(const b2Vec2& d) const; 41 const b2Vec2& GetSupportVertex(const b2Vec2& d) const; 47 const b2Vec2& GetVertex(int32 index) const; 49 b2Vec2 m_buffer[2]; 50 const b2Vec2* m_vertices; 80 b2Vec2 pointA; ///< closest point on shapeA 81 b2Vec2 pointB; ///< closest point on shapeB 101 inline const b2Vec2& b2DistanceProxy::GetVertex(int32 index) const 107 inline int32 b2DistanceProxy::GetSupport(const b2Vec2& d) cons [all...] |
b2TimeOfImpact.cpp | 65 b2Vec2 localPointA = m_proxyA->GetVertex(cache->indexA[0]); 66 b2Vec2 localPointB = m_proxyB->GetVertex(cache->indexB[0]); 67 b2Vec2 pointA = b2Mul(xfA, localPointA); 68 b2Vec2 pointB = b2Mul(xfB, localPointB); 77 b2Vec2 localPointB1 = proxyB->GetVertex(cache->indexB[0]); 78 b2Vec2 localPointB2 = proxyB->GetVertex(cache->indexB[1]); 82 b2Vec2 normal = b2Mul(xfB.q, m_axis); 85 b2Vec2 pointB = b2Mul(xfB, m_localPoint); 87 b2Vec2 localPointA = proxyA->GetVertex(cache->indexA[0]); 88 b2Vec2 pointA = b2Mul(xfA, localPointA) [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Common/ |
b2Draw.h | 64 virtual void DrawPolygon(const b2Vec2* vertices, int32 vertexCount, const b2Color& color) = 0; 67 virtual void DrawSolidPolygon(const b2Vec2* vertices, int32 vertexCount, const b2Color& color) = 0; 70 virtual void DrawCircle(const b2Vec2& center, float32 radius, const b2Color& color) = 0; 73 virtual void DrawSolidCircle(const b2Vec2& center, float32 radius, const b2Vec2& axis, const b2Color& color) = 0; 76 virtual void DrawSegment(const b2Vec2& p1, const b2Vec2& p2, const b2Color& color) = 0;
|
b2Math.h | 57 struct b2Vec2 60 b2Vec2() {} 63 b2Vec2(float32 x, float32 y) : x(x), y(y) {} 72 b2Vec2 operator -() const { b2Vec2 v; v.Set(-x, -y); return v; } 87 void operator += (const b2Vec2& v) 93 void operator -= (const b2Vec2& v) 111 /// b2Vec2::Length (if possible). 139 b2Vec2 Skew() const 141 return b2Vec2(-y, x) [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Rope/ |
b2Rope.h | 41 b2Vec2* vertices; 50 b2Vec2 gravity; 82 const b2Vec2* GetVertices() const 99 b2Vec2* m_ps; 100 b2Vec2* m_p0s; 101 b2Vec2* m_vs; 108 b2Vec2 m_gravity;
|
b2Rope.cpp | 50 m_ps = (b2Vec2*)b2Alloc(m_count * sizeof(b2Vec2)); 51 m_p0s = (b2Vec2*)b2Alloc(m_count * sizeof(b2Vec2)); 52 m_vs = (b2Vec2*)b2Alloc(m_count * sizeof(b2Vec2)); 79 b2Vec2 p1 = m_ps[i]; 80 b2Vec2 p2 = m_ps[i+1]; 86 b2Vec2 p1 = m_ps[i]; 87 b2Vec2 p2 = m_ps[i + 1] [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d/jni/Box2D/Dynamics/ |
b2Body.h | 78 b2Vec2 position; 84 b2Vec2 linearVelocity; 161 void SetTransform(const b2Vec2& position, float32 angle); 169 const b2Vec2& GetPosition() const; 176 const b2Vec2& GetWorldCenter() const; 179 const b2Vec2& GetLocalCenter() const; 183 void SetLinearVelocity(const b2Vec2& v); 187 const b2Vec2& GetLinearVelocity() const; 203 void ApplyForce(const b2Vec2& force, const b2Vec2& point, bool wake) [all...] |