Home
last modified time | relevance | path

Searched refs:Rot (Results 1 – 25 of 34) sorted by relevance

12

/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/common/
DRot.java33 public class Rot implements Serializable { class
38 public Rot() { in Rot() method in Rot
42 public Rot(float angle) { in Rot() method in Rot
59 public Rot set(float angle) { in set()
65 public Rot set(Rot other) { in set()
71 public Rot setIdentity() { in setIdentity()
90 public Rot clone() { in clone()
91 Rot copy = new Rot(); in clone()
97 public static final void mul(Rot q, Rot r, Rot out) { in mul()
103 public static final void mulUnsafe(Rot q, Rot r, Rot out) { in mulUnsafe()
[all …]
DTransform.java41 public final Rot q;
46 q = new Rot(); in Transform()
56 public Transform(final Vec2 _position, final Rot _R) { in Transform()
125 Rot.mulUnsafe(A.q, B.q, C.q); in mul()
126 Rot.mulToOutUnsafe(A.q, B.p, C.p); in mul()
133 Rot.mul(A.q, B.q, out.q); in mulToOut()
134 Rot.mulToOut(A.q, B.p, out.p); in mulToOut()
141 Rot.mulUnsafe(A.q, B.q, out.q); in mulToOutUnsafe()
142 Rot.mulToOutUnsafe(A.q, B.p, out.p); in mulToOutUnsafe()
150 Rot.mulTransUnsafe(A.q, B.q, C.q); in mulTrans()
[all …]
DSweep.java94 final Rot q = xf.q; in getTransform()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/
DTimeOfImpact.java29 import org.jbox2d.common.Rot;
376 Rot.mulToOutUnsafe(xfb.q, m_axis, normal); in initialize()
402 Rot.mulToOutUnsafe(xfa.q, m_axis, normal); in initialize()
431 Rot.mulTransUnsafe(xfa.q, m_axis, axisA); in findMinSeparation()
432 Rot.mulTransUnsafe(xfb.q, m_axis.negateLocal(), axisB); in findMinSeparation()
448 Rot.mulToOutUnsafe(xfa.q, m_axis, normal); in findMinSeparation()
451 Rot.mulTransUnsafe(xfb.q, normal.negateLocal(), axisB); in findMinSeparation()
464 Rot.mulToOutUnsafe(xfb.q, m_axis, normal); in findMinSeparation()
467 Rot.mulTransUnsafe(xfa.q, normal.negateLocal(), axisA); in findMinSeparation()
493 Rot.mulTransUnsafe(xfa.q, m_axis, axisA); in evaluate()
[all …]
DWorldManifold.java27 import org.jbox2d.common.Rot;
107 Rot.mulToOutUnsafe(xfA.q, manifold.localNormal, normal); in initialize()
145 Rot.mulToOutUnsafe(xfB.q, manifold.localNormal, normal); in initialize()
DCollision.java33 import org.jbox2d.common.Rot;
261 final Rot xfBq = xfB.q; in collidePolygonAndCircle()
262 final Rot xfAq = xfA.q; in collidePolygonAndCircle()
453 final Rot xfq = xf.q;
459 Rot.mulToOutUnsafe(xfq, n1s[i], n);
495 final Rot xf1q = xf1.q;
496 final Rot xf2q = xf2.q;
617 final Rot xf1q = xf1.q;
1209 Rot.mulToOutUnsafe(m_xf.q, polygonB.m_normals[i], m_polygonB.normals[i]); in Rot.mulToOutUnsafe()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/joints/
DGearJoint.java29 import org.jbox2d.common.Rot;
150 Rot.mulToOutUnsafe(xfA.q, m_localAnchorA, temp); in GearJoint()
152 Rot.mulTransUnsafe(xfC.q, temp, pA); in GearJoint()
184 Rot.mulToOutUnsafe(xfB.q, m_localAnchorB, temp); in GearJoint()
186 Rot.mulTransUnsafe(xfD.q, temp, pB); in GearJoint()
267 Rot qA = pool.popRot(), qB = pool.popRot(), qC = pool.popRot(), qD = pool.popRot(); in initVelocityConstraints()
285 Rot.mulToOutUnsafe(qC, m_localAxisC, m_JvAC); in initVelocityConstraints()
286 Rot.mulToOutUnsafe(qC, temp.set(m_localAnchorC).subLocal(m_lcC), rC); in initVelocityConstraints()
287 Rot.mulToOutUnsafe(qA, temp.set(m_localAnchorA).subLocal(m_lcA), rA); in initVelocityConstraints()
303 Rot.mulToOutUnsafe(qD, m_localAxisD, u); in initVelocityConstraints()
[all …]
DRopeJoint.java4 import org.jbox2d.common.Rot;
76 final Rot qA = pool.popRot(); in initVelocityConstraints()
77 final Rot qB = pool.popRot(); in initVelocityConstraints()
84 Rot.mulToOutUnsafe(qA, temp.set(m_localAnchorA).subLocal(m_localCenterA), m_rA); in initVelocityConstraints()
85 Rot.mulToOutUnsafe(qB, temp.set(m_localAnchorB).subLocal(m_localCenterB), m_rB); in initVelocityConstraints()
194 final Rot qA = pool.popRot(); in solvePositionConstraints()
195 final Rot qB = pool.popRot(); in solvePositionConstraints()
205 Rot.mulToOutUnsafe(qA, temp.set(m_localAnchorA).subLocal(m_localCenterA), rA); in solvePositionConstraints()
206 Rot.mulToOutUnsafe(qB, temp.set(m_localAnchorB).subLocal(m_localCenterB), rB); in solvePositionConstraints()
DDistanceJoint.java50 import org.jbox2d.common.Rot;
188 final Rot qA = pool.popRot(); in initVelocityConstraints()
189 final Rot qB = pool.popRot(); in initVelocityConstraints()
195 Rot.mulToOutUnsafe(qA, m_u.set(m_localAnchorA).subLocal(m_localCenterA), m_rA); in initVelocityConstraints()
196 Rot.mulToOutUnsafe(qB, m_u.set(m_localAnchorB).subLocal(m_localCenterB), m_rB); in initVelocityConstraints()
312 final Rot qA = pool.popRot(); in solvePositionConstraints()
313 final Rot qB = pool.popRot(); in solvePositionConstraints()
326 Rot.mulToOutUnsafe(qA, u.set(m_localAnchorA).subLocal(m_localCenterA), rA); in solvePositionConstraints()
327 Rot.mulToOutUnsafe(qB, u.set(m_localAnchorB).subLocal(m_localCenterB), rB); in solvePositionConstraints()
DWheelJoint.java27 import org.jbox2d.common.Rot;
254 final Rot qA = pool.popRot(); in initVelocityConstraints()
255 final Rot qB = pool.popRot(); in initVelocityConstraints()
262 Rot.mulToOutUnsafe(qA, temp.set(m_localAnchorA).subLocal(m_localCenterA), rA); in initVelocityConstraints()
263 Rot.mulToOutUnsafe(qB, temp.set(m_localAnchorB).subLocal(m_localCenterB), rB); in initVelocityConstraints()
268 Rot.mulToOut(qA, m_localYAxisA, m_ay); in initVelocityConstraints()
284 Rot.mulToOut(qA, m_localXAxisA, m_ax); in initVelocityConstraints()
448 final Rot qA = pool.popRot(); in solvePositionConstraints()
449 final Rot qB = pool.popRot(); in solvePositionConstraints()
455 Rot.mulToOut(qA, temp.set(m_localAnchorA).subLocal(m_localCenterA), rA); in solvePositionConstraints()
[all …]
DPulleyJoint.java30 import org.jbox2d.common.Rot;
202 final Rot qA = pool.popRot(); in initVelocityConstraints()
203 final Rot qB = pool.popRot(); in initVelocityConstraints()
210 Rot.mulToOutUnsafe(qA, temp.set(m_localAnchorA).subLocal(m_localCenterA), m_rA); in initVelocityConstraints()
211 Rot.mulToOutUnsafe(qB, temp.set(m_localAnchorB).subLocal(m_localCenterB), m_rB); in initVelocityConstraints()
316 final Rot qA = pool.popRot(); in solvePositionConstraints()
317 final Rot qB = pool.popRot(); in solvePositionConstraints()
334 Rot.mulToOutUnsafe(qA, temp.set(m_localAnchorA).subLocal(m_localCenterA), rA); in solvePositionConstraints()
335 Rot.mulToOutUnsafe(qB, temp.set(m_localAnchorB).subLocal(m_localCenterB), rB); in solvePositionConstraints()
DPrismaticJoint.java29 import org.jbox2d.common.Rot;
220 Rot.mulToOutUnsafe(bA.m_xf.q, temp, rA); in getJointSpeed()
223 Rot.mulToOutUnsafe(bB.m_xf.q, temp, rB); in getJointSpeed()
229 Rot.mulToOutUnsafe(bA.m_xf.q, m_localXAxisA, axis); in getJointSpeed()
412 final Rot qA = pool.popRot(); in initVelocityConstraints()
413 final Rot qB = pool.popRot(); in initVelocityConstraints()
423 Rot.mulToOutUnsafe(qA, d.set(m_localAnchorA).subLocal(m_localCenterA), rA); in initVelocityConstraints()
424 Rot.mulToOutUnsafe(qB, d.set(m_localAnchorB).subLocal(m_localCenterB), rB); in initVelocityConstraints()
432 Rot.mulToOutUnsafe(qA, m_localXAxisA, m_axis); in initVelocityConstraints()
445 Rot.mulToOutUnsafe(qA, m_localYAxisA, m_perp); in initVelocityConstraints()
[all …]
DWeldJoint.java31 import org.jbox2d.common.Rot;
167 final Rot qA = pool.popRot(); in initVelocityConstraints()
168 final Rot qB = pool.popRot(); in initVelocityConstraints()
175 Rot.mulToOutUnsafe(qA, temp.set(m_localAnchorA).subLocal(m_localCenterA), m_rA); in initVelocityConstraints()
176 Rot.mulToOutUnsafe(qB, temp.set(m_localAnchorB).subLocal(m_localCenterB), m_rB); in initVelocityConstraints()
343 final Rot qA = pool.popRot(); in solvePositionConstraints()
344 final Rot qB = pool.popRot(); in solvePositionConstraints()
355 Rot.mulToOutUnsafe(qA, temp.set(m_localAnchorA).subLocal(m_localCenterA), rA); in solvePositionConstraints()
356 Rot.mulToOutUnsafe(qB, temp.set(m_localAnchorB).subLocal(m_localCenterB), rB); in solvePositionConstraints()
DFrictionJoint.java31 import org.jbox2d.common.Rot;
146 final Rot qA = pool.popRot(); in initVelocityConstraints()
147 final Rot qB = pool.popRot(); in initVelocityConstraints()
153 Rot.mulToOutUnsafe(qA, temp.set(m_localAnchorA).subLocal(m_localCenterA), m_rA); in initVelocityConstraints()
154 Rot.mulToOutUnsafe(qB, temp.set(m_localAnchorB).subLocal(m_localCenterB), m_rB); in initVelocityConstraints()
DRevoluteJoint.java29 import org.jbox2d.common.Rot;
128 final Rot qA = pool.popRot(); in initVelocityConstraints()
129 final Rot qB = pool.popRot(); in initVelocityConstraints()
136 Rot.mulToOutUnsafe(qA, temp.set(m_localAnchorA).subLocal(m_localCenterA), m_rA); in initVelocityConstraints()
137 Rot.mulToOutUnsafe(qB, temp.set(m_localAnchorB).subLocal(m_localCenterB), m_rB); in initVelocityConstraints()
352 final Rot qA = pool.popRot(); in solvePositionConstraints()
353 final Rot qB = pool.popRot(); in solvePositionConstraints()
408 Rot.mulToOutUnsafe(qA, C.set(m_localAnchorA).subLocal(m_localCenterA), rA); in solvePositionConstraints()
409 Rot.mulToOutUnsafe(qB, C.set(m_localAnchorB).subLocal(m_localCenterB), rB); in solvePositionConstraints()
DMouseJoint.java28 import org.jbox2d.common.Rot;
156 final Rot qB = pool.popRot(); in initVelocityConstraints()
185 Rot.mulToOutUnsafe(qB, temp.set(m_localAnchorB).subLocal(m_localCenterB), m_rB); in initVelocityConstraints()
DMotorJoint.java5 import org.jbox2d.common.Rot;
188 final Rot qA = pool.popRot(); in initVelocityConstraints()
189 final Rot qB = pool.popRot(); in initVelocityConstraints()
228 Rot.mulToOutUnsafe(qA, m_linearOffset, temp); in initVelocityConstraints()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/pooling/normal/
DDefaultWorldPool.java37 import org.jbox2d.common.Rot;
65 private final OrderedStack<Rot> rots;
132 rots = new OrderedStack<Rot>(argSize, argContainerSize) { in DefaultWorldPool()
133 protected Rot newInstance() { return new Rot(); } in DefaultWorldPool()
232 public final Rot popRot() { in popRot()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/shapes/
DCircleShape.java31 import org.jbox2d.common.Rot;
108 final Rot q = transform.q; in testPoint()
118 final Rot xfq = xf.q; in computeDistanceToOut()
139 final Rot tq = transform.q; in raycast()
184 final Rot tq = transform.q; in computeAABB()
DEdgeShape.java30 import org.jbox2d.common.Rot;
135 final Rot xfq = xf.q; in raycast()
217 final Rot xfq = xf.q; in computeAABB()
DChainShape.java31 import org.jbox2d.common.Rot;
149 final Rot xfq = xf.q;
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/pooling/
DIWorldPool.java32 import org.jbox2d.common.Rot;
86 public Rot popRot(); in popRot()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/
DBody.java30 import org.jbox2d.common.Rot;
765 Rot.mulToOut(m_xf.q, localVector, out); in getWorldVectorToOut()
769 Rot.mulToOutUnsafe(m_xf.q, localVector, out); in getWorldVectorToOutUnsafe()
801 Rot.mulTrans(m_xf.q, worldVector, out); in getLocalVectorToOut()
805 Rot.mulTransUnsafe(m_xf.q, worldVector, out); in getLocalVectorToOutUnsafe()
1144 Rot q = m_xf.q; in synchronizeTransform()
1182 Rot.mulToOutUnsafe(m_xf.q, m_sweep.localCenter, m_xf.p); in advance()
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMAddressingModes.h321 int Rot = getT2SOImmValRotateVal(Arg); in getT2SOImmVal() local
322 if (Rot != -1) in getT2SOImmVal()
323 return Rot; in getT2SOImmVal()
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/contacts/
DContactSolver.java32 import org.jbox2d.common.Rot;
254 final Rot xfAq = xfA.q; in initializeVelocityConstraints()
255 final Rot xfBq = xfB.q; in initializeVelocityConstraints()
838 final Rot xfAq = xfA.q; in solvePositionConstraints()
839 final Rot xfBq = xfB.q; in solvePositionConstraints()
937 final Rot xfAq = xfA.q; in solveTOIPositionConstraints()
938 final Rot xfBq = xfB.q; in solveTOIPositionConstraints()
1017 final Rot xfAq = xfA.q; in initialize()
1018 final Rot xfBq = xfB.q; in initialize()

12