Class CircleShape
java.lang.Object
com.codename1.gaming.physics.box2d.collision.shapes.Shape
com.codename1.gaming.physics.box2d.collision.shapes.CircleShape
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Shapeclone()final voidcomputeAABB(AABB aabb, Transform transform, int childIndex) final voidcomputeMass(MassData massData, float density) final intfinal intgetSupport(Vec2 d) final Vec2final Vec2getVertex(int index) final intfinal booleanraycast(RayCastOutput output, RayCastInput input, Transform transform, int childIndex) final boolean
-
Field Details
-
m_p
-
-
Constructor Details
-
CircleShape
public CircleShape()
-
-
Method Details
-
clone
-
getChildCount
public final int getChildCount()- Specified by:
getChildCountin classShape
-
getSupport
-
getSupportVertex
-
getVertexCount
public final int getVertexCount() -
getVertex
-
testPoint
-
raycast
public final boolean raycast(RayCastOutput output, RayCastInput input, Transform transform, int childIndex) -
computeAABB
- Specified by:
computeAABBin classShape
-
computeMass
- Specified by:
computeMassin classShape
-