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.Object
This 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 Matrix4
matTmp1
protected static Color
tmpColor0
protected static Color
tmpColor1
protected static Color
tmpColor2
protected static Color
tmpColor3
protected static Color
tmpColor4
protected static Vector3
tmpV0
protected static Vector3
tmpV1
protected static Vector3
tmpV2
protected static Vector3
tmpV3
protected static Vector3
tmpV4
protected static Vector3
tmpV5
protected static Vector3
tmpV6
protected static Vector3
tmpV7
protected static MeshPartBuilder.VertexInfo
vertTmp0
protected static MeshPartBuilder.VertexInfo
vertTmp1
protected static MeshPartBuilder.VertexInfo
vertTmp2
protected static MeshPartBuilder.VertexInfo
vertTmp3
protected static MeshPartBuilder.VertexInfo
vertTmp4
protected static MeshPartBuilder.VertexInfo
vertTmp5
protected static MeshPartBuilder.VertexInfo
vertTmp6
protected static MeshPartBuilder.VertexInfo
vertTmp7
protected static MeshPartBuilder.VertexInfo
vertTmp8
-
Constructor Summary
Constructors Constructor Description BaseShapeBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static void
freeAll()
Free all objects obtained using one of the `obtainXX` methods.protected static Matrix4
obtainM4()
protected static Vector3
obtainV3()
-
-
-
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
-
-