Package net.dermetfan.gdx.physics.box2d
Class Box2DUtils.ShapeCache
java.lang.Object
net.dermetfan.gdx.physics.box2d.Box2DUtils.ShapeCache
- Enclosing class:
Box2DUtils
cached method results
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionShapeCache(float[] vertices, float width, float height, float minX, float maxX, float minY, float maxY) -
Method Summary
-
Field Details
-
vertices
public final float[] vertices- See Also:
-
width
public final float width- See Also:
-
height
public final float height- See Also:
-
minX
public final float minX- See Also:
-
maxX
public final float maxX- See Also:
-
minY
public final float minY- See Also:
-
maxY
public final float maxY- See Also:
-
-
Constructor Details
-
ShapeCache
public ShapeCache(float[] vertices, float width, float height, float minX, float maxX, float minY, float maxY) - Parameters:
vertices- theBox2DUtils.vertices(com.badlogic.gdx.physics.box2d.Shape)width- theBox2DUtils.width(com.badlogic.gdx.physics.box2d.Shape)height- theBox2DUtils.height(com.badlogic.gdx.physics.box2d.Shape)minX- theBox2DUtils.minX(com.badlogic.gdx.physics.box2d.Shape)maxX- theBox2DUtils.maxX(com.badlogic.gdx.physics.box2d.Shape)minY- theBox2DUtils.minY(com.badlogic.gdx.physics.box2d.Shape)maxY- theBox2DUtils.maxX(com.badlogic.gdx.physics.box2d.Shape)
-