Class EdgeShape
java.lang.Object
com.codename1.gaming.physics.box2d.collision.shapes.Shape
com.codename1.gaming.physics.box2d.collision.shapes.EdgeShape
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()voidcomputeAABB(AABB aabb, Transform xf, int childIndex) voidcomputeMass(MassData massData, float density) intbooleanraycast(RayCastOutput output, RayCastInput input, Transform xf, int childIndex) voidboolean
-
Field Details
-
m_vertex1
-
m_vertex2
-
m_vertex0
-
m_vertex3
-
m_hasVertex0
public boolean m_hasVertex0 -
m_hasVertex3
public boolean m_hasVertex3
-
-
Constructor Details
-
EdgeShape
public EdgeShape()
-
-
Method Details
-
getChildCount
public int getChildCount()- Specified by:
getChildCountin classShape
-
set
-
testPoint
-
raycast
-
computeAABB
- Specified by:
computeAABBin classShape
-
computeMass
- Specified by:
computeMassin classShape
-
clone
-