Class BaseShapeBuilder
- java.lang.Object
-
- com.badlogic.gdx.graphics.g3d.utils.shapebuilders.BaseShapeBuilder
-
- Direct Known Subclasses:
ArrowShapeBuilder,BoxShapeBuilder,CapsuleShapeBuilder,ConeShapeBuilder,CylinderShapeBuilder,EllipseShapeBuilder,FrustumShapeBuilder,PatchShapeBuilder,RenderableShapeBuilder,SphereShapeBuilder
public class BaseShapeBuilder extends java.lang.ObjectThis class allows to reduce the static allocation needed for shape builders. It contains all the objects used internally by shape builders.
-
-
Field Summary
Fields Modifier and Type Field Description protected static Matrix4matTmp1protected static ColortmpColor0protected static ColortmpColor1protected static ColortmpColor2protected static ColortmpColor3protected static ColortmpColor4protected static Vector3tmpV0protected static Vector3tmpV1protected static Vector3tmpV2protected static Vector3tmpV3protected static Vector3tmpV4protected static Vector3tmpV5protected static Vector3tmpV6protected static Vector3tmpV7protected static MeshPartBuilder.VertexInfovertTmp0protected static MeshPartBuilder.VertexInfovertTmp1protected static MeshPartBuilder.VertexInfovertTmp2protected static MeshPartBuilder.VertexInfovertTmp3protected static MeshPartBuilder.VertexInfovertTmp4protected static MeshPartBuilder.VertexInfovertTmp5protected static MeshPartBuilder.VertexInfovertTmp6protected static MeshPartBuilder.VertexInfovertTmp7protected static MeshPartBuilder.VertexInfovertTmp8
-
Constructor Summary
Constructors Constructor Description BaseShapeBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static voidfreeAll()Free all objects obtained using one of the `obtainXX` methods.protected static Matrix4obtainM4()protected static Vector3obtainV3()
-
-
-
Field Detail
-
tmpColor0
protected static final Color tmpColor0
-
tmpColor1
protected static final Color tmpColor1
-
tmpColor2
protected static final Color tmpColor2
-
tmpColor3
protected static final Color tmpColor3
-
tmpColor4
protected static final Color tmpColor4
-
tmpV0
protected static final Vector3 tmpV0
-
tmpV1
protected static final Vector3 tmpV1
-
tmpV2
protected static final Vector3 tmpV2
-
tmpV3
protected static final Vector3 tmpV3
-
tmpV4
protected static final Vector3 tmpV4
-
tmpV5
protected static final Vector3 tmpV5
-
tmpV6
protected static final Vector3 tmpV6
-
tmpV7
protected static final Vector3 tmpV7
-
vertTmp0
protected static final MeshPartBuilder.VertexInfo vertTmp0
-
vertTmp1
protected static final MeshPartBuilder.VertexInfo vertTmp1
-
vertTmp2
protected static final MeshPartBuilder.VertexInfo vertTmp2
-
vertTmp3
protected static final MeshPartBuilder.VertexInfo vertTmp3
-
vertTmp4
protected static final MeshPartBuilder.VertexInfo vertTmp4
-
vertTmp5
protected static final MeshPartBuilder.VertexInfo vertTmp5
-
vertTmp6
protected static final MeshPartBuilder.VertexInfo vertTmp6
-
vertTmp7
protected static final MeshPartBuilder.VertexInfo vertTmp7
-
vertTmp8
protected static final MeshPartBuilder.VertexInfo vertTmp8
-
matTmp1
protected static final Matrix4 matTmp1
-
-