/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/shapebuilders/ |
EllipseShapeBuilder.java | 30 public static void build (MeshPartBuilder builder, float radius, int divisions, float centerX, float centerY, float centerZ, float normalX, float normalY, 32 build(builder, radius, divisions, centerX, centerY, centerZ, normalX, normalY, normalZ, 0f, 360f); 48 public static void build (MeshPartBuilder builder, float radius, int divisions, float centerX, float centerY, float centerZ, float normalX, float normalY, 50 build(builder, radius, divisions, centerX, centerY, centerZ, normalX, normalY, normalZ, tangentX, tangentY, tangentZ, binormalX, 55 public static void build (MeshPartBuilder builder, float radius, int divisions, float centerX, float centerY, float centerZ, float normalX, float normalY, 57 build(builder, radius * 2f, radius * 2f, divisions, centerX, centerY, centerZ, normalX, normalY, normalZ, angleFrom, angleTo); 73 public static void build (MeshPartBuilder builder, float radius, int divisions, float centerX, float centerY, float centerZ, float normalX, float normalY, 76 build(builder, radius * 2, radius * 2, 0, 0, divisions, centerX, centerY, centerZ, normalX, normalY, normalZ, tangentX, tangentY, 82 float centerZ, float normalX, float normalY, float normalZ) { 83 build(builder, width, height, divisions, centerX, centerY, centerZ, normalX, normalY, normalZ, 0f, 360f) [all...] |
PatchShapeBuilder.java | 56 float x01, float y01, float z01, float normalX, float normalY, float normalZ, int divisionsU, int divisionsV) { 57 build(builder, vertTmp1.set(null).setPos(x00, y00, z00).setNor(normalX, normalY, normalZ).setUV(0f, 1f), 58 vertTmp2.set(null).setPos(x10, y10, z10).setNor(normalX, normalY, normalZ).setUV(1f, 1f), 59 vertTmp3.set(null).setPos(x11, y11, z11).setNor(normalX, normalY, normalZ).setUV(1f, 0f), 60 vertTmp4.set(null).setPos(x01, y01, z01).setNor(normalX, normalY, normalZ).setUV(0f, 0f), divisionsU, divisionsV);
|
/external/replicaisland/tools/ |
ExtractPoints.js | 83 var normalX = -(edge.endY - edge.startY); 86 var normalLength = Math.sqrt((normalX * normalX) + (normalY * normalY)); 87 normalX /= normalLength; 90 edge.normalX = normalX; 93 if (normalX == 0 && normalY == 0) { 97 var normalLength2 = Math.sqrt((normalX * normalX) + (normalY * normalY)); 158 Math.abs((edge.centerX + edge.normalX) - tile.centerX)) [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/ |
MeshBuilder.java | 719 float x01, float y01, float z01, float normalX, float normalY, float normalZ) {
720 rect(vertTmp1.set(null, null, null, null).setPos(x00, y00, z00).setNor(normalX, normalY, normalZ).setUV(0f, 1f), vertTmp2
721 .set(null, null, null, null).setPos(x10, y10, z10).setNor(normalX, normalY, normalZ).setUV(1f, 1f),
722 vertTmp3.set(null, null, null, null).setPos(x11, y11, z11).setNor(normalX, normalY, normalZ).setUV(1f, 0f), vertTmp4
723 .set(null, null, null, null).setPos(x01, y01, z01).setNor(normalX, normalY, normalZ).setUV(0f, 0f));
815 float x01, float y01, float z01, float normalX, float normalY, float normalZ, int divisionsU, int divisionsV) {
816 PatchShapeBuilder.build(this, x00, y00, z00, x10, y10, z10, x11, y11, z11, x01, y01, z01, normalX, normalY, normalZ, divisionsU, divisionsV);
853 public void circle (float radius, int divisions, float centerX, float centerY, float centerZ, float normalX, float normalY,
855 EllipseShapeBuilder.build(this, radius, divisions, centerX, centerY, centerZ, normalX, normalY, normalZ);
[all...] |
MeshPartBuilder.java | 163 float x01, float y01, float z01, float normalX, float normalY, float normalZ);
304 float x01, float y01, float z01, float normalX, float normalY, float normalZ, int divisionsU, int divisionsV);
330 public void circle (float radius, int divisions, float centerX, float centerY, float centerZ, float normalX, float normalY,
344 public void circle (float radius, int divisions, float centerX, float centerY, float centerZ, float normalX, float normalY,
349 public void circle (float radius, int divisions, float centerX, float centerY, float centerZ, float normalX, float normalY,
363 public void circle (float radius, int divisions, float centerX, float centerY, float centerZ, float normalX, float normalY,
369 public void ellipse (float width, float height, int divisions, float centerX, float centerY, float centerZ, float normalX,
383 public void ellipse (float width, float height, int divisions, float centerX, float centerY, float centerZ, float normalX,
389 public void ellipse (float width, float height, int divisions, float centerX, float centerY, float centerZ, float normalX,
404 public void ellipse (float width, float height, int divisions, float centerX, float centerY, float centerZ, float normalX,
[all...] |
ModelBuilder.java | 207 float x01, float y01, float z01, float normalX, float normalY, float normalZ, final Material material, final long attributes) {
208 return createRect(x00, y00, z00, x10, y10, z10, x11, y11, z11, x01, y01, z01, normalX, normalY, normalZ, GL20.GL_TRIANGLES,
217 float x01, float y01, float z01, float normalX, float normalY, float normalZ, int primitiveType, final Material material,
220 part("rect", primitiveType, attributes, material).rect(x00, y00, z00, x10, y10, z10, x11, y11, z11, x01, y01, z01, normalX,
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/contacts/ |
ContactSolver.java | 355 final float normalx = normal.x; local 409 final float vn = dvx * normalx + dvy * normaly; 419 float Px = normalx * lambda; 491 float vn1 = dv1x * normalx + dv1y * normaly; 492 float vn2 = dv2x * normalx + dv2y * normaly; 530 float P1x = dx * normalx; 532 float P2x = dy * normalx; 595 float P1x = normalx * dx; 597 float P2x = normalx * dy; 662 float P1x = normalx * dx [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/shapes/ |
EdgeShape.java | 159 final float normalx = normal.x; local 167 float numerator = normalx * tempx + normaly * tempy; 168 float denominator = normalx * dx + normaly * dy;
|
/external/replicaisland/src/com/replica/replicaisland/ |
CollisionSystem.java | 438 float normalX = 0; 458 normalX = segment.mNormal.x; 470 hitNormal.set(normalX, normalY); 543 // read startx, starty, endx, endy, normalx, normaly 565 final float normalX = Utils.byteArrayToFloat(mWorkspaceBytes); 574 newSegment.mNormal.set(normalX, normalY); [all...] |
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/collision/ |
Collision.java | 645 final float normalx = 1f * tangent.y; 656 float frontOffset = normalx * v11.x + normaly * v11.y; 693 float separation = normalx * clipPoints2[i].v.x + normaly * clipPoints2[i].v.y - frontOffset; [all...] |