/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/shapebuilders/ |
PatchShapeBuilder.java | 28 public static void build (MeshPartBuilder builder, VertexInfo corner00, VertexInfo corner10, VertexInfo corner11, VertexInfo corner01, int divisionsU, 37 vertTmp5.set(corner00).lerp(corner10, alphaU); 47 public static void build (MeshPartBuilder builder, Vector3 corner00, Vector3 corner10, Vector3 corner11, Vector3 corner01, Vector3 normal, int divisionsU, 49 build(builder, vertTmp1.set(corner00, normal, null, null).setUV(0f, 1f), vertTmp2.set(corner10, normal, null, null).setUV(1f, 1f),
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/ |
btSoftBodyHelpers.java | 120 public static btSoftBody CreatePatch(btSoftBodyWorldInfo worldInfo, Vector3 corner00, Vector3 corner10, Vector3 corner01, Vector3 corner11, int resx, int resy, int fixeds, boolean gendiags) { 121 long cPtr = SoftbodyJNI.btSoftBodyHelpers_CreatePatch(btSoftBodyWorldInfo.getCPtr(worldInfo), worldInfo, corner00, corner10, corner01, corner11, resx, resy, fixeds, gendiags); 125 public static btSoftBody CreatePatchUV(btSoftBodyWorldInfo worldInfo, Vector3 corner00, Vector3 corner10, Vector3 corner01, Vector3 corner11, int resx, int resy, int fixeds, boolean gendiags, java.nio.FloatBuffer tex_coords) { 128 long cPtr = SoftbodyJNI.btSoftBodyHelpers_CreatePatchUV__SWIG_0(btSoftBodyWorldInfo.getCPtr(worldInfo), worldInfo, corner00, corner10, corner01, corner11, resx, resy, fixeds, gendiags, tex_coords); 133 public static btSoftBody CreatePatchUV(btSoftBodyWorldInfo worldInfo, Vector3 corner00, Vector3 corner10, Vector3 corner01, Vector3 corner11, int resx, int resy, int fixeds, boolean gendiags) { 134 long cPtr = SoftbodyJNI.btSoftBodyHelpers_CreatePatchUV__SWIG_1(btSoftBodyWorldInfo.getCPtr(worldInfo), worldInfo, corner00, corner10, corner01, corner11, resx, resy, fixeds, gendiags);
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/ |
btSoftBodyHelpers.h | 83 const btVector3& corner00, 93 const btVector3& corner00,
|
btSoftBodyHelpers.cpp | 702 btSoftBody* btSoftBodyHelpers::CreatePatch(btSoftBodyWorldInfo& worldInfo,const btVector3& corner00, 724 const btVector3 py0=lerp(corner00,corner01,ty); 780 const btVector3& corner00, 795 * [0][0] corner00 ------- corner01 [resx][0] 807 * corner00 --> +1 872 const btVector3 py0=lerp(corner00,corner01,ty); [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/ |
MeshBuilder.java | 694 public void rect (short corner00, short corner10, short corner11, short corner01) {
696 index(corner00, corner10, corner11, corner11, corner01, corner00);
698 index(corner00, corner10, corner10, corner11, corner11, corner01, corner01, corner00);
700 index(corner00, corner10, corner11, corner01);
706 public void rect (VertexInfo corner00, VertexInfo corner10, VertexInfo corner11, VertexInfo corner01) {
708 rect(vertex(corner00), vertex(corner10), vertex(corner11), vertex(corner01));
712 public void rect (Vector3 corner00, Vector3 corner10, Vector3 corner11, Vector3 corner01, Vector3 normal) {
713 rect(vertTmp1.set(corner00, normal, null, null).setUV(0f, 1f), vertTmp2.set(corner10, normal, null, null).setUV(1f, 1f), [all...] |
MeshPartBuilder.java | 153 public void rect (short corner00, short corner10, short corner11, short corner01);
156 public void rect (VertexInfo corner00, VertexInfo corner10, VertexInfo corner11, VertexInfo corner01);
159 public void rect (Vector3 corner00, Vector3 corner10, Vector3 corner11, Vector3 corner01, Vector3 normal);
293 public void patch (VertexInfo corner00, VertexInfo corner10, VertexInfo corner11, VertexInfo corner01, int divisionsU,
298 public void patch (Vector3 corner00, Vector3 corner10, Vector3 corner11, Vector3 corner01, Vector3 normal, int divisionsU,
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
HeightMapTest.java | 45 field.corner00.set(-10f, 0, -10f);
|
HeightField.java | 32 * than one). The plane of the heightfield can be specified using the {@link #corner00}, {@link #corner01}, {@link #corner10} and 33 * {@link #corner11} members. Where `corner00` is the location on the grid at x:0, y;0, `corner01` at x:0, y:height-1, `corner10` 73 public final Vector3 corner00 = new Vector3(0, 0, 0); field in class:HeightField 236 out.position.set(corner00).lerp(corner10, dx).lerp(tmpV1.set(corner01).lerp(corner11, dx), dy); 247 out.set(corner00).lerp(corner10, dx).lerp(tmpV1.set(corner01).lerp(corner11, dx), dy); 261 // float xScale = (corner11.x - corner00.x) / (width - 1f); 262 // float zScale = (corner11.z - corner00.z) / (height - 1f);
|