Home | History | Annotate | Download | only in joints

Lines Matching defs:Vec2

32 import org.jbox2d.common.Vec2;
49 private final Vec2 m_groundAnchorA = new Vec2();
50 private final Vec2 m_groundAnchorB = new Vec2();
55 private final Vec2 m_localAnchorA = new Vec2();
56 private final Vec2 m_localAnchorB = new Vec2();
64 private final Vec2 m_uA = new Vec2();
65 private final Vec2 m_uB = new Vec2();
66 private final Vec2 m_rA = new Vec2();
67 private final Vec2 m_rB = new Vec2();
68 private final Vec2 m_localCenterA = new Vec2();
69 private final Vec2 m_localCenterB = new Vec2();
102 final Vec2 p = pool.popVec2();
111 final Vec2 p = pool.popVec2();
120 public Vec2 getLocalAnchorA() {
124 public Vec2 getLocalAnchorB() {
130 public void getAnchorA(Vec2 argOut) {
135 public void getAnchorB(Vec2 argOut) {
140 public void getReactionForce(float inv_dt, Vec2 argOut) {
149 public Vec2 getGroundAnchorA() {
153 public Vec2 getGroundAnchorB() {
158 final Vec2 p = pool.popVec2();
168 final Vec2 p = pool.popVec2();
192 Vec2 cA = data.positions[m_indexA].c;
194 Vec2 vA = data.velocities[m_indexA].v;
197 Vec2 cB = data.positions[m_indexB].c;
199 Vec2 vB = data.velocities[m_indexB].v;
204 final Vec2 temp = pool.popVec2();
232 float ruA = Vec2.cross(m_rA, m_uA);
233 float ruB = Vec2.cross(m_rB, m_uB);
250 final Vec2 PA = pool.popVec2();
251 final Vec2 PB = pool.popVec2();
258 wA += m_invIA * Vec2.cross(m_rA, PA);
261 wB += m_invIB * Vec2.cross(m_rB, PB);
278 Vec2 vA = data.velocities[m_indexA].v;
280 Vec2 vB = data.velocities[m_indexB].v;
283 final Vec2 vpA = pool.popVec2();
284 final Vec2 vpB = pool.popVec2();
285 final Vec2 PA = pool.popVec2();
286 final Vec2 PB = pool.popVec2();
288 Vec2.crossToOutUnsafe(wA, m_rA, vpA);
290 Vec2.crossToOutUnsafe(wB, m_rB, vpB);
293 float Cdot = -Vec2.dot(m_uA, vpA) - m_ratio * Vec2.dot(m_uB, vpB);
301 wA += m_invIA * Vec2.cross(m_rA, PA);
304 wB += m_invIB * Vec2.cross(m_rB, PB);
318 final Vec2 rA = pool.popVec2();
319 final Vec2 rB = pool.popVec2();
320 final Vec2 uA = pool.popVec2();
321 final Vec2 uB = pool.popVec2();
322 final Vec2 temp = pool.popVec2();
323 final Vec2 PA = pool.popVec2();
324 final Vec2 PB = pool.popVec2();
326 Vec2 cA = data.positions[m_indexA].c;
328 Vec2 cB = data.positions[m_indexB].c;
356 float ruA = Vec2.cross(rA, uA);
357 float ruB = Vec2.cross(rB, uB);
378 aA += m_invIA * Vec2.cross(rA, PA);
381 aB += m_invIB * Vec2.cross(rB, PB);