HomeSort by relevance Sort by last modified time
    Searched refs:MeshPartBuilder (Results 1 - 23 of 23) sorted by null

  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/shapebuilders/
CapsuleShapeBuilder.java 19 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
22 /** Helper class with static methods to build capsule shapes using {@link MeshPartBuilder}.
25 public static void build (MeshPartBuilder builder, float radius, float height, int divisions) {
ConeShapeBuilder.java 19 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
20 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo;
23 /** Helper class with static methods to build cone shapes using {@link MeshPartBuilder}.
26 public static void build (MeshPartBuilder builder, float width, float height, float depth, int divisions) {
30 public static void build (MeshPartBuilder builder, float width, float height, float depth, int divisions, float angleFrom,
35 public static void build (MeshPartBuilder builder, float width, float height, float depth, int divisions, float angleFrom,
SphereShapeBuilder.java 19 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
20 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo;
25 /** Helper class with static methods to build sphere shapes using {@link MeshPartBuilder}.
30 public static void build (MeshPartBuilder builder, float width, float height, float depth, int divisionsU, int divisionsV) {
34 /** @deprecated use {@link MeshPartBuilder#setVertexTransform(Matrix4)} instead of using the method signature taking a matrix. */
36 public static void build (MeshPartBuilder builder, final Matrix4 transform, float width, float height, float depth,
41 public static void build (MeshPartBuilder builder, float width, float height, float depth, int divisionsU, int divisionsV,
46 /** @deprecated use {@link MeshPartBuilder#setVertexTransform(Matrix4)} instead of using the method signature taking a matrix. */
48 public static void build (MeshPartBuilder builder, final Matrix4 transform, float width, float height, float depth,
EllipseShapeBuilder.java 20 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
21 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo;
26 /** Helper class with static methods to build ellipse shapes using {@link MeshPartBuilder}.
30 public static void build (MeshPartBuilder builder, float radius, int divisions, float centerX, float centerY, float centerZ, float normalX, float normalY,
36 public static void build (MeshPartBuilder builder, float radius, int divisions, final Vector3 center, final Vector3 normal) {
41 public static void build (MeshPartBuilder builder, float radius, int divisions, final Vector3 center, final Vector3 normal, final Vector3 tangent,
48 public static void build (MeshPartBuilder builder, float radius, int divisions, float centerX, float centerY, float centerZ, float normalX, float normalY,
55 public static void build (MeshPartBuilder builder, float radius, int divisions, float centerX, float centerY, float centerZ, float normalX, float normalY,
61 public static void build (MeshPartBuilder builder, float radius, int divisions, final Vector3 center, final Vector3 normal, float angleFrom, float angleTo) {
66 public static void build (MeshPartBuilder builder, float radius, int divisions, final Vector3 center, final Vector3 normal, final Vector3 ta (…)
    [all...]
CylinderShapeBuilder.java 19 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
20 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo;
23 /** Helper class with static methods to build cylinders shapes using {@link MeshPartBuilder}.
27 public static void build (MeshPartBuilder builder, float width, float height, float depth, int divisions) {
32 public static void build (MeshPartBuilder builder, float width, float height, float depth, int divisions, float angleFrom, float angleTo) {
37 public static void build (MeshPartBuilder builder, float width, float height, float depth, int divisions, float angleFrom,
PatchShapeBuilder.java 19 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
20 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo;
24 /** Helper class with static methods to build patch shapes using {@link MeshPartBuilder}.
28 public static void build (MeshPartBuilder builder, VertexInfo corner00, VertexInfo corner10, VertexInfo corner11, VertexInfo corner01, int divisionsU,
47 public static void build (MeshPartBuilder builder, Vector3 corner00, Vector3 corner10, Vector3 corner11, Vector3 corner01, Vector3 normal, int divisionsU,
55 public static void build (MeshPartBuilder builder, float x00, float y00, float z00, float x10, float y10, float z10, float x11, float y11, float z11,
BaseShapeBuilder.java 20 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
21 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo;
BoxShapeBuilder.java 22 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
23 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo;
28 /** Helper class with static methods to build box shapes using {@link MeshPartBuilder}.
34 public static void build (MeshPartBuilder builder, BoundingBox box) {
40 public static void build (MeshPartBuilder builder, VertexInfo corner000, VertexInfo corner010, VertexInfo corner100,
74 public static void build (MeshPartBuilder builder, Vector3 corner000, Vector3 corner010, Vector3 corner100, Vector3 corner110,
97 public static void build (MeshPartBuilder builder, Matrix4 transform) {
106 public static void build (MeshPartBuilder builder, float width, float height, float depth) {
111 public static void build (MeshPartBuilder builder, float x, float y, float z, float width, float height, float depth) {
ArrowShapeBuilder.java 19 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
22 /** Helper class with static methods to build arrow shapes using {@link MeshPartBuilder}.
35 public static void build (MeshPartBuilder builder, float x1, float y1, float z1, float x2, float y2, float z2, float capLength, float stemThickness,
FrustumShapeBuilder.java 21 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
31 * @param builder MeshPartBuilder
33 public static void build (MeshPartBuilder builder, Camera camera) {
46 public static void build (MeshPartBuilder builder, Camera camera, Color frustumColor, Color coneColor, Color upColor,
78 public static void build (MeshPartBuilder builder, Frustum frustum, Color frustumColor, Color crossColor) {
RenderableShapeBuilder.java 24 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
63 public static void buildNormals (MeshPartBuilder builder, RenderableProvider renderableProvider, float vectorSize) {
75 public static void buildNormals (MeshPartBuilder builder, RenderableProvider renderableProvider, float vectorSize,
95 public static void buildNormals (MeshPartBuilder builder, Renderable renderable, float vectorSize, Color normalColor,
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/
ShapeCache.java 46 * MeshPartBuilder builder = cache.begin();
94 public MeshPartBuilder begin () {
100 public MeshPartBuilder begin (int primitiveType) {
ModelBuilder.java 38 * {@link #part(String, int, VertexAttributes, Material)} method will return a {@link MeshPartBuilder} which can be used to build
161 /** Creates a new MeshPart within the current Node and returns a {@link MeshPartBuilder} which can be used to build the shape of
162 * the part. If possible a previously used {@link MeshPartBuilder} will be reused, to reduce the number of mesh binds.
165 * @return The {@link MeshPartBuilder} you can use to build the MeshPart. */
166 public MeshPartBuilder part (final String id, int primitiveType, final VertexAttributes attributes, final Material material) {
172 /** Creates a new MeshPart within the current Node and returns a {@link MeshPartBuilder} which can be used to build the shape of
173 * the part. If possible a previously used {@link MeshPartBuilder} will be reused, to reduce the number of mesh binds.
178 * @return The {@link MeshPartBuilder} you can use to build the MeshPart. */
179 public MeshPartBuilder part (final String id, int primitiveType, final long attributes, final Material material) {
391 MeshPartBuilder partBuilder;
    [all...]
MeshPartBuilder.java 31 public interface MeshPartBuilder {
106 /** Add an index, MeshPartBuilder expects all meshes to be indexed. */
109 /** Add multiple indices, MeshPartBuilder expects all meshes to be indexed. */
112 /** Add multiple indices, MeshPartBuilder expects all meshes to be indexed. */
115 /** Add multiple indices, MeshPartBuilder expects all meshes to be indexed. */
118 /** Add multiple indices, MeshPartBuilder expects all meshes to be indexed. */
121 /** Add multiple indices, MeshPartBuilder expects all meshes to be indexed. */
MeshBuilder.java 55 public class MeshBuilder implements MeshPartBuilder {
    [all...]
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/
HeightField.java 13 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
14 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder.VertexInfo;
93 private final MeshPartBuilder.VertexInfo vertex00 = new MeshPartBuilder.VertexInfo();
94 private final MeshPartBuilder.VertexInfo vertex10 = new MeshPartBuilder.VertexInfo();
95 private final MeshPartBuilder.VertexInfo vertex01 = new MeshPartBuilder.VertexInfo();
96 private final MeshPartBuilder.VertexInfo vertex11 = new MeshPartBuilder.VertexInfo()
    [all...]
BaseG3dTest.java 30 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
72 MeshPartBuilder builder = modelBuilder.part("grid", GL20.GL_LINES, Usage.Position | Usage.ColorUnpacked, new Material());
MaterialTest.java 33 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
75 MeshPartBuilder mpb = builder.part("back", GL20.GL_TRIANGLES, Usage.Position | Usage.TextureCoordinates, new Material(
ShadowMappingTest.java 34 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
67 MeshPartBuilder mpb = modelBuilder.part("parts", GL20.GL_TRIANGLES, Usage.Position | Usage.Normal | Usage.ColorUnpacked,
MeshBuilderTest.java 26 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
67 MeshPartBuilder mpb = modelBuilder.part("box", GL20.GL_TRIANGLES, Usage.Position | Usage.Normal | Usage.TextureCoordinates
Animation3DTest.java 39 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
85 MeshPartBuilder part = builder.part("floor", GL20.GL_TRIANGLES, Usage.Position | Usage.TextureCoordinates | Usage.Normal,
MultipleRenderTargetTest.java 45 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
169 MeshPartBuilder meshPartBuilder = modelBuilder.part("light", GL20.GL_TRIANGLES, VertexAttributes.Usage.Position | VertexAttributes.Usage.ColorPacked | VertexAttributes.Usage.Normal, new Material());
170 meshPartBuilder.setColor(light.color.x, light.color.y, light.color.z, 1f);
171 meshPartBuilder.sphere(0.2f, 0.2f, 0.2f, 10, 10);
178 MeshPartBuilder meshPartBuilder = modelBuilder.part("floor", GL20.GL_TRIANGLES, VertexAttributes.Usage.Position | VertexAttributes.Usage.ColorPacked | VertexAttributes.Usage.Normal, new Material());
179 meshPartBuilder.setColor(0.2f, 0.2f, 0.2f, 1f);
180 meshPartBuilder.box(0, -0.1f, 0f, 20f, 0.1f, 20f);
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/
FrustumCullingTest.java 28 import com.badlogic.gdx.graphics.g3d.utils.MeshPartBuilder;
116 MeshPartBuilder mpb = builder.part("", GL20.GL_LINES, Usage.Position | Usage.Normal, new Material(new ColorAttribute(ColorAttribute.Diffuse, Color.WHITE)));

Completed in 810 milliseconds