HomeSort by relevance Sort by last modified time
    Searched refs:Vector2 (Results 1 - 25 of 228) sorted by null

1 2 3 4 5 6 7 8 910

  /external/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/
WorldManifold.java 19 import com.badlogic.gdx.math.Vector2;
23 protected final Vector2 normal = new Vector2();
24 protected final Vector2[] points = {new Vector2(), new Vector2()};
32 public Vector2 getNormal () {
38 public Vector2[] getPoints () {
MassData.java 19 import com.badlogic.gdx.math.Vector2;
28 public final Vector2 center = new Vector2();
RayCastCallback.java 19 import com.badlogic.gdx.math.Vector2;
22 * @see World#rayCast(RayCastCallback, Vector2, Vector2)
31 * The {@link Vector2} instances passed to the callback will be reused for future calls so make a copy of them!
37 public float reportRayFixture (Fixture fixture, Vector2 point, Vector2 normal, float fraction);
BodyDef.java 19 import com.badlogic.gdx.math.Vector2;
46 public final Vector2 position = new Vector2();
52 public final Vector2 linearVelocity = new Vector2();
Transform.java 19 import com.badlogic.gdx.math.Vector2;
32 private Vector2 position = new Vector2();
33 private Vector2 orientation = new Vector2();
42 public Transform (Vector2 position, float angle) {
49 public Transform (Vector2 position, Vector2 orientation) {
56 public Vector2 mul (Vector2 v)
    [all...]
  /frameworks/base/libs/hwui/
SpotShadow.h 37 static float projectCasterToOutline(Vector2& outline,
44 static float rayIntersectPoly(const Vector2* poly, int polyLength,
45 const Vector2& point, float dx, float dy);
47 static void xsort(Vector2* points, int pointsLength);
48 static int hull(Vector2* points, int pointsLength, Vector2* retPoly);
50 static void sort(Vector2* poly, int polyLength, const Vector2& center);
52 static void swap(Vector2* points, int i, int j);
53 static void quicksortCirc(Vector2* points, int low, int high, const Vector2& center)
    [all...]
ShadowTessellator.h 81 static Vector2 centroid2d(const Vector2* poly, int polyLength);
83 static bool isClockwise(const Vector2* polygon, int len);
85 static Vector2 calculateNormal(const Vector2& p1, const Vector2& p2);
87 static int getExtraVertexNumber(const Vector2& vector1, const Vector2& vector2,
  /external/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/joints/
RopeJointDef.java 19 import com.badlogic.gdx.math.Vector2;
31 public final Vector2 localAnchorA = new Vector2(-1, 0);
34 public final Vector2 localAnchorB = new Vector2(1, 0);
PrismaticJointDef.java 19 import com.badlogic.gdx.math.Vector2;
34 public void initialize (Body bodyA, Body bodyB, Vector2 anchor, Vector2 axis) {
45 public final Vector2 localAnchorA = new Vector2();
48 public final Vector2 localAnchorB = new Vector2();
51 public final Vector2 localAxisA = new Vector2(1, 0);
WheelJointDef.java 19 import com.badlogic.gdx.math.Vector2;
32 public void initialize (Body bodyA, Body bodyB, Vector2 anchor, Vector2 axis) {
41 public final Vector2 localAnchorA = new Vector2();
44 public final Vector2 localAnchorB = new Vector2();
47 public final Vector2 localAxisA = new Vector2(1, 0);
PulleyJointDef.java 19 import com.badlogic.gdx.math.Vector2;
34 public void initialize (Body bodyA, Body bodyB, Vector2 groundAnchorA, Vector2 groundAnchorB, Vector2 anchorA,
35 Vector2 anchorB, float ratio) {
49 public final Vector2 groundAnchorA = new Vector2(-1, 1);
52 public final Vector2 groundAnchorB = new Vector2(1, 1);
55 public final Vector2 localAnchorA = new Vector2(-1, 0)
    [all...]
MouseJointDef.java 19 import com.badlogic.gdx.math.Vector2;
29 public final Vector2 target = new Vector2();
DistanceJointDef.java 19 import com.badlogic.gdx.math.Vector2;
33 public void initialize (Body bodyA, Body bodyB, Vector2 anchorA, Vector2 anchorB) {
42 public final Vector2 localAnchorA = new Vector2();
45 public final Vector2 localAnchorB = new Vector2();
PulleyJoint.java 19 import com.badlogic.gdx.math.Vector2;
38 private final Vector2 groundAnchorA = new Vector2();
40 public Vector2 getGroundAnchorA () {
53 private final Vector2 groundAnchorB = new Vector2();
55 public Vector2 getGroundAnchorB () {
RopeJoint.java 19 import com.badlogic.gdx.math.Vector2;
34 private final Vector2 localAnchorA = new Vector2();
35 private final Vector2 localAnchorB = new Vector2();
41 public Vector2 getLocalAnchorA () {
53 public Vector2 getLocalAnchorB () {
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/com/badlogic/gdx/physics/box2d/
MassData.java 19 import com.badlogic.gdx.math.Vector2;
28 public final Vector2 center = new Vector2();
RayCastCallback.java 19 import com.badlogic.gdx.math.Vector2;
22 * @see World#rayCast(RayCastCallback, Vector2, Vector2)
31 * The {@link Vector2} instances passed to the callback will be reused for future calls so make a copy of them!
37 public float reportRayFixture (Fixture fixture, Vector2 point, Vector2 normal, float fraction);
WorldManifold.java 19 import com.badlogic.gdx.math.Vector2;
23 protected final Vector2 normal = new Vector2();
24 protected final Vector2[] points = {new Vector2(), new Vector2()};
42 public Vector2 getNormal () {
48 public Vector2[] getPoints () {
BodyDef.java 19 import com.badlogic.gdx.math.Vector2;
46 public final Vector2 position = new Vector2();
52 public final Vector2 linearVelocity = new Vector2();
Transform.java 19 import com.badlogic.gdx.math.Vector2;
32 private Vector2 position = new Vector2();
33 private Vector2 orientation = new Vector2();
42 public Transform (Vector2 position, float angle) {
49 public Transform (Vector2 position, Vector2 orientation) {
56 public Vector2 mul (Vector2 v)
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
VectorPool.java 22 public class VectorPool extends TObjectPool<Vector2> {
31 getAvailable().add(new Vector2());
37 ((Vector2)entry).zero();
42 public Vector2 allocate(Vector2 source) {
43 Vector2 entry = super.allocate();
GravityComponent.java 24 private Vector2 mGravity;
25 private Vector2 mScaledGravity;
26 private static final Vector2 sDefaultGravity = new Vector2(0.0f, -400.0f);
30 mGravity = new Vector2(sDefaultGravity);
31 mScaledGravity = new Vector2();
47 public Vector2 getGravity() {
SolidSurfaceComponent.java 24 private FixedSizeArray<Vector2> mStartPoints;
25 private FixedSizeArray<Vector2> mEndPoints;
26 private FixedSizeArray<Vector2> mNormals;
27 private Vector2 mStart;
28 private Vector2 mEnd;
29 private Vector2 mNormal;
36 mStart = new Vector2();
37 mEnd = new Vector2();
38 mNormal = new Vector2();
54 mStart = new Vector2();
    [all...]
HitPoint.java 20 public Vector2 hitPoint;
21 public Vector2 hitNormal;
  /external/libgdx/gdx/test/com/badlogic/gdx/math/
Vector2Test.java 11 assertEquals("(-5.0,42.00055)", new Vector2(-5f, 42.00055f).toString());
16 assertEquals(new Vector2(-5f, 42.00055f), new Vector2().fromString("(-5,42.00055)"));

Completed in 379 milliseconds

1 2 3 4 5 6 7 8 910