public class liquidfun extends liquidfun
Modifier and Type | Field and Description |
---|---|
static double |
b2_aabbExtension
This is used to fatten AABBs in the dynamic tree.
|
static double |
b2_aabbMultiplier
This is used to fatten AABBs in the dynamic tree.
|
static int |
b2_addState
enum b2PointState
|
static double |
b2_angularSleepTolerance
A body cannot sleep if its angular velocity is above this tolerance.
|
static double |
b2_angularSlop
A small angle used as a collision and constraint tolerance.
|
static int |
B2_ASSERT_ENABLED |
static double |
b2_barrierCollisionTime
The time into the future that collisions against barrier particles will be detected.
|
static int |
b2_barrierParticle
enum b2ParticleFlag
|
static double |
b2_baumgarte
This scale factor controls how fast overlap is resolved.
|
static int |
b2_colorMixingParticle
enum b2ParticleFlag
|
static int |
b2_destructionListenerParticle
enum b2ParticleFlag
|
static int |
b2_dynamicBody
enum b2BodyType
|
static int |
b2_elasticParticle
enum b2ParticleFlag
|
static int |
b2_fixtureContactFilterParticle
enum b2ParticleFlag
|
static int |
b2_fixtureContactListenerParticle
enum b2ParticleFlag
|
static int |
B2_INTRUSIVE_LIST_VALIDATE
Normalize an angle in radians to be between -pi and pi
|
static int |
b2_invalidParticleIndex
A symbolic constant that stands for particle allocation error.
|
static int |
b2_kinematicBody
enum b2BodyType
|
static double |
b2_linearSleepTolerance
A body cannot sleep if its linear velocity is above this tolerance.
|
static double |
b2_linearSlop
A small length used as a collision and constraint tolerance.
|
static double |
b2_maxAngularCorrection
The maximum angular position correction used when solving constraints.
|
static double |
b2_maxLinearCorrection
The maximum linear position correction used when solving constraints.
|
static int |
b2_maxManifoldPoints
The maximum number of contact points between two convex shapes.
|
static double |
b2_maxParticleForce
The upper limit for force between particles.
|
static int |
b2_maxParticleIndex |
static double |
b2_maxParticlePressure
The upper limit for particle pressure.
|
static int |
b2_maxPolygonVertices
The maximum number of vertices on a convex polygon.
|
static double |
b2_maxRotation
The maximum angular velocity of a body.
|
static int |
b2_maxSubSteps
Maximum number of sub-steps per contact in continuous physics simulation.
|
static int |
b2_maxTOIContacts
Maximum number of contacts to be handled to solve a TOI impact.
|
static double |
b2_maxTranslation
The maximum linear velocity of a body.
|
static int |
b2_maxTriadDistance
The maximum distance between particles in a triad, multiplied by the
particle diameter.
|
static int |
b2_maxTriadDistanceSquared |
static int |
b2_minParticleSystemBufferCapacity
The initial size of particle data buffers.
|
static double |
b2_minParticleWeight
The minimum particle weight that produces pressure.
|
static int |
b2_nullNode |
static int |
b2_nullState
enum b2PointState
|
static int |
b2_particleContactFilterParticle
enum b2ParticleFlag
|
static int |
b2_particleContactListenerParticle
enum b2ParticleFlag
|
static int |
b2_particleGroupCanBeEmpty
enum b2ParticleGroupFlag
|
static int |
b2_particleGroupInternalMask
enum b2ParticleGroupFlag
|
static int |
b2_particleGroupNeedsUpdateDepth
enum b2ParticleGroupFlag
|
static int |
b2_particleGroupWillBeDestroyed
enum b2ParticleGroupFlag
|
static double |
b2_particleStride
The default distance between particles, multiplied by the particle diameter.
|
static int |
b2_persistState
enum b2PointState
|
static double |
b2_pi |
static double |
b2_polygonRadius
The radius of the polygon/edge shape skin.
|
static int |
b2_powderParticle
enum b2ParticleFlag
|
static int |
b2_reactiveParticle
enum b2ParticleFlag
|
static int |
b2_removeState
enum b2PointState
|
static int |
b2_repulsiveParticle
enum b2ParticleFlag
|
static int |
b2_rigidParticleGroup
enum b2ParticleGroupFlag
|
static int |
b2_solidParticleGroup
enum b2ParticleGroupFlag
|
static int |
b2_springParticle
enum b2ParticleFlag
|
static int |
b2_staticBody
enum b2BodyType
|
static int |
b2_staticPressureParticle
enum b2ParticleFlag
|
static int |
b2_tensileParticle
enum b2ParticleFlag
|
static double |
b2_timeToSleep
The time that a body must be still before it will go to sleep.
|
static double |
b2_toiBaugarte |
static double |
b2_velocityThreshold
A velocity threshold for elastic collisions.
|
static int |
b2_viscousParticle
enum b2ParticleFlag
|
static int |
b2_wallParticle
enum b2ParticleFlag
|
static int |
b2_waterParticle
enum b2ParticleFlag
|
static int |
b2_zombieParticle
enum b2ParticleFlag
|
static int |
e_atLowerLimit
enum b2LimitState
|
static int |
e_atUpperLimit
enum b2LimitState
|
static int |
e_distanceJoint
enum b2JointType
|
static int |
e_equalLimits
enum b2LimitState
|
static int |
e_frictionJoint
enum b2JointType
|
static int |
e_gearJoint
enum b2JointType
|
static int |
e_inactiveLimit
enum b2LimitState
|
static int |
e_motorJoint
enum b2JointType
|
static int |
e_mouseJoint
enum b2JointType
|
static int |
e_prismaticJoint
enum b2JointType
|
static int |
e_pulleyJoint
enum b2JointType
|
static int |
e_revoluteJoint
enum b2JointType
|
static int |
e_ropeJoint
enum b2JointType
|
static int |
e_unknownJoint
enum b2JointType
|
static int |
e_weldJoint
enum b2JointType
|
static int |
e_wheelJoint
enum b2JointType
|
static int |
LIQUIDFUN_EXTERNAL_LANGUAGE_API |
Constructor and Description |
---|
liquidfun() |
Modifier and Type | Method and Description |
---|---|
static b2Mat22 |
add(b2Mat22 A,
b2Mat22 B) |
static b2Vec2 |
add(b2Vec2 a,
b2Vec2 b)
Add two vectors component-wise.
|
static b2Vec2 |
add(b2Vec2 v,
float f)
Add a float to a vector.
|
static b2Vec3 |
add(b2Vec3 a,
b2Vec3 b)
Add two vectors component-wise.
|
static b2Version |
b2_liquidFunVersion()
Global variable is used to identify the version of LiquidFun.
|
static BytePointer |
b2_liquidFunVersionString()
String which identifies the current version of LiquidFun.
|
static void |
b2_liquidFunVersionString(BytePointer setter) |
static float |
b2_minPulleyLength() |
static short |
b2_nullFeature()
\file
Structures and functions used for computing contact points, distance
queries, and TOI queries.
|
static b2Version |
b2_version()
Current version.
|
static void |
b2_version(b2Version setter) |
static b2Mat22 |
b2Abs(b2Mat22 A) |
static b2Vec2 |
b2Abs(b2Vec2 a) |
static Pointer |
b2Alloc(int size)
Implement this function to use your own memory allocator.
|
static int |
b2CalculateParticleIterations(float gravity,
float radius,
float timeStep)
A helper function to calculate the optimal number of iterations.
|
static b2Vec2 |
b2Clamp(b2Vec2 a,
b2Vec2 low,
b2Vec2 high) |
static int |
b2ClipSegmentToLine(b2ClipVertex vOut,
b2ClipVertex vIn,
b2Vec2 normal,
float offset,
int vertexIndexA)
Clipping for contact manifolds.
|
static void |
b2CollideCircles(b2Manifold manifold,
b2CircleShape circleA,
b2Transform xfA,
b2CircleShape circleB,
b2Transform xfB)
Compute the collision manifold between two circles.
|
static void |
b2CollideEdgeAndCircle(b2Manifold manifold,
b2EdgeShape polygonA,
b2Transform xfA,
b2CircleShape circleB,
b2Transform xfB)
Compute the collision manifold between an edge and a circle.
|
static void |
b2CollideEdgeAndPolygon(b2Manifold manifold,
b2EdgeShape edgeA,
b2Transform xfA,
b2PolygonShape circleB,
b2Transform xfB)
Compute the collision manifold between an edge and a circle.
|
static void |
b2CollidePolygonAndCircle(b2Manifold manifold,
b2PolygonShape polygonA,
b2Transform xfA,
b2CircleShape circleB,
b2Transform xfB)
Compute the collision manifold between a polygon and a circle.
|
static void |
b2CollidePolygons(b2Manifold manifold,
b2PolygonShape polygonA,
b2Transform xfA,
b2PolygonShape polygonB,
b2Transform xfB)
Compute the collision manifold between two polygons.
|
static float |
b2Cross(b2Vec2 a,
b2Vec2 b)
Perform the cross product on two vectors.
|
static b2Vec2 |
b2Cross(b2Vec2 a,
float s)
Perform the cross product on a vector and a scalar.
|
static b2Vec3 |
b2Cross(b2Vec3 a,
b2Vec3 b)
Perform the cross product on two vectors.
|
static b2Vec2 |
b2Cross(float s,
b2Vec2 a)
Perform the cross product on a scalar and a vector.
|
static void |
b2Distance(b2DistanceOutput output,
b2SimplexCache cache,
b2DistanceInput input)
Compute the closest points between two shapes.
|
static float |
b2Distance(b2Vec2 a,
b2Vec2 b) |
static float |
b2DistanceSquared(b2Vec2 a,
b2Vec2 b) |
static float |
b2Dot(b2Vec2 a,
b2Vec2 b)
Perform the dot product on two vectors.
|
static float |
b2Dot(b2Vec3 a,
b2Vec3 b)
Perform the dot product on two vectors.
|
static void |
b2Free(Pointer mem)
If you implement b2Alloc, you should also implement this function.
|
static int |
b2GetNumAllocs()
Get number of calls to b2Alloc minus number of calls to b2Free.
|
static void |
b2GetPointStates(int[] state1,
int[] state2,
b2Manifold manifold1,
b2Manifold manifold2) |
static void |
b2GetPointStates(IntBuffer state1,
IntBuffer state2,
b2Manifold manifold1,
b2Manifold manifold2) |
static void |
b2GetPointStates(IntPointer state1,
IntPointer state2,
b2Manifold manifold1,
b2Manifold manifold2)
Compute the point states given two manifolds.
|
static float |
b2InvSqrt(float x)
This is a approximate yet fast inverse square-root.
|
static boolean |
b2IsPowerOfTwo(long x) |
static boolean |
b2IsValid(float x)
This function is used to ensure that a floating point number is not a NaN or infinity.
|
static void |
b2Log(BytePointer string)
Logging function.
|
static void |
b2Log(String string) |
static b2Vec2 |
b2Max(b2Vec2 a,
b2Vec2 b) |
static b2Vec2 |
b2Min(b2Vec2 a,
b2Vec2 b) |
static float |
b2MixFriction(float friction1,
float friction2)
Friction mixing law.
|
static float |
b2MixRestitution(float restitution1,
float restitution2)
Restitution mixing law.
|
static b2Mat22 |
b2Mul(b2Mat22 A,
b2Mat22 B) |
static b2Vec2 |
b2Mul(b2Mat22 A,
b2Vec2 v)
Multiply a matrix times a vector.
|
static b2Vec3 |
b2Mul(b2Mat33 A,
b2Vec3 v)
Multiply a matrix times a vector.
|
static b2Rot |
b2Mul(b2Rot q,
b2Rot r)
Multiply two rotations: q * r
|
static b2Vec2 |
b2Mul(b2Rot q,
b2Vec2 v)
Rotate a vector
|
static b2Transform |
b2Mul(b2Transform A,
b2Transform B) |
static b2Vec2 |
b2Mul(b2Transform T,
b2Vec2 v) |
static b2Vec2 |
b2Mul22(b2Mat33 A,
b2Vec2 v)
Multiply a matrix times a vector.
|
static b2Mat22 |
b2MulT(b2Mat22 A,
b2Mat22 B) |
static b2Vec2 |
b2MulT(b2Mat22 A,
b2Vec2 v)
Multiply a matrix transpose times a vector.
|
static b2Rot |
b2MulT(b2Rot q,
b2Rot r)
Transpose multiply two rotations: qT * r
|
static b2Vec2 |
b2MulT(b2Rot q,
b2Vec2 v)
Inverse rotate a vector
|
static b2Transform |
b2MulT(b2Transform A,
b2Transform B) |
static b2Vec2 |
b2MulT(b2Transform T,
b2Vec2 v) |
static long |
b2NextPowerOfTwo(long x)
"Next Largest Power of 2
Given a binary integer value x, the next largest power of 2 can be computed by a SWAR algorithm
that recursively "folds" the upper bits into the lower bits.
|
static boolean |
b2PairLessThan(b2Pair pair1,
b2Pair pair2)
This is used to sort pairs.
|
static b2ParticleColor |
b2ParticleColor_zero() |
static void |
b2ParticleColor_zero(b2ParticleColor setter) |
static void |
b2SetAllocFreeCallbacks(b2AllocFunction allocCallback,
b2FreeFunction freeCallback,
Pointer callbackData)
Set alloc and free callbacks to override the default behavior of using
malloc() and free() for dynamic memory allocation.
|
static void |
b2SetNumAllocs(int numAllocs)
Set the number of calls to b2Alloc minus the number of calls to b2Free.
|
static boolean |
b2TestOverlap(b2AABB a,
b2AABB b) |
static boolean |
b2TestOverlap(b2Shape shapeA,
int indexA,
b2Shape shapeB,
int indexB,
b2Transform xfA,
b2Transform xfB)
Determine if two generic shapes overlap.
|
static void |
b2TimeOfImpact(b2TOIOutput output,
b2TOIInput input)
Compute the upper bound on time before two shapes penetrate.
|
static b2Vec2 |
b2Vec2_zero()
Useful constant
|
static b2Vec2 |
divide(b2Vec2 v,
float f)
Divide a vector by a float.
|
static boolean |
equals(b2Vec2 a,
b2Vec2 b) |
static b2Vec2 |
multiply(b2Vec2 v,
float f)
Multiply a float with a vector.
|
static b2Vec2 |
multiply(float s,
b2Vec2 a) |
static b2Vec3 |
multiply(float s,
b2Vec3 a) |
static boolean |
notEquals(b2Vec2 a,
b2Vec2 b) |
static b2Vec2 |
subtract(b2Vec2 a,
b2Vec2 b)
Subtract two vectors component-wise.
|
static b2Vec2 |
subtract(b2Vec2 v,
float f)
Substract a float from a vector.
|
static b2Vec3 |
subtract(b2Vec3 a,
b2Vec3 b)
Subtract two vectors component-wise.
|
public static final int B2_ASSERT_ENABLED
public static final double b2_pi
public static final int LIQUIDFUN_EXTERNAL_LANGUAGE_API
public static final int b2_maxManifoldPoints
public static final int b2_maxPolygonVertices
public static final double b2_aabbExtension
public static final double b2_aabbMultiplier
public static final double b2_linearSlop
public static final double b2_angularSlop
public static final double b2_polygonRadius
public static final int b2_maxSubSteps
public static final int b2_maxTOIContacts
public static final double b2_velocityThreshold
public static final double b2_maxLinearCorrection
public static final double b2_maxAngularCorrection
public static final double b2_maxTranslation
public static final double b2_maxRotation
public static final double b2_baumgarte
public static final double b2_toiBaugarte
public static final int b2_invalidParticleIndex
public static final int b2_maxParticleIndex
public static final double b2_particleStride
public static final double b2_minParticleWeight
public static final double b2_maxParticlePressure
public static final double b2_maxParticleForce
public static final int b2_maxTriadDistance
public static final int b2_maxTriadDistanceSquared
public static final int b2_minParticleSystemBufferCapacity
public static final double b2_barrierCollisionTime
public static final double b2_timeToSleep
public static final double b2_linearSleepTolerance
public static final double b2_angularSleepTolerance
public static final int B2_INTRUSIVE_LIST_VALIDATE
public static final int b2_nullState
public static final int b2_addState
public static final int b2_persistState
public static final int b2_removeState
public static final int b2_nullNode
public static final int b2_staticBody
public static final int b2_kinematicBody
public static final int b2_dynamicBody
public static final int e_unknownJoint
public static final int e_revoluteJoint
public static final int e_prismaticJoint
public static final int e_distanceJoint
public static final int e_pulleyJoint
public static final int e_mouseJoint
public static final int e_gearJoint
public static final int e_wheelJoint
public static final int e_weldJoint
public static final int e_frictionJoint
public static final int e_ropeJoint
public static final int e_motorJoint
public static final int e_inactiveLimit
public static final int e_atLowerLimit
public static final int e_atUpperLimit
public static final int e_equalLimits
public static final int b2_waterParticle
public static final int b2_zombieParticle
public static final int b2_wallParticle
public static final int b2_springParticle
public static final int b2_elasticParticle
public static final int b2_viscousParticle
public static final int b2_powderParticle
public static final int b2_tensileParticle
public static final int b2_colorMixingParticle
public static final int b2_destructionListenerParticle
public static final int b2_barrierParticle
public static final int b2_staticPressureParticle
public static final int b2_reactiveParticle
public static final int b2_repulsiveParticle
public static final int b2_fixtureContactListenerParticle
public static final int b2_particleContactListenerParticle
public static final int b2_fixtureContactFilterParticle
public static final int b2_particleContactFilterParticle
public static final int b2_solidParticleGroup
public static final int b2_rigidParticleGroup
public static final int b2_particleGroupCanBeEmpty
public static final int b2_particleGroupWillBeDestroyed
public static final int b2_particleGroupNeedsUpdateDepth
public static final int b2_particleGroupInternalMask
public static Pointer b2Alloc(@Cast(value="int32") int size)
public static void b2Free(Pointer mem)
public static void b2SetAllocFreeCallbacks(b2AllocFunction allocCallback, b2FreeFunction freeCallback, Pointer callbackData)
public static void b2SetNumAllocs(@Cast(value="const int32") int numAllocs)
@Cast(value="int32") public static int b2GetNumAllocs()
public static void b2Log(@Cast(value="const char*") BytePointer string)
public static void b2Log(String string)
@ByRef public static b2Version b2_version()
public static void b2_version(b2Version setter)
@MemberGetter @Const @ByRef public static b2Version b2_liquidFunVersion()
@Cast(value="const char*") public static BytePointer b2_liquidFunVersionString()
public static void b2_liquidFunVersionString(BytePointer setter)
@Cast(value="bool") public static boolean b2IsValid(@Cast(value="float32") float x)
@Cast(value="float32") public static float b2InvSqrt(@Cast(value="float32") float x)
@ByVal @Name(value="operator +") public static b2Vec2 add(@Const @ByRef b2Vec2 v, float f)
@ByVal @Name(value="operator -") public static b2Vec2 subtract(@Const @ByRef b2Vec2 v, float f)
@ByVal @Name(value="operator *") public static b2Vec2 multiply(@Const @ByRef b2Vec2 v, float f)
@ByVal @Name(value="operator /") public static b2Vec2 divide(@Const @ByRef b2Vec2 v, float f)
@MemberGetter @Const @ByRef public static b2Vec2 b2Vec2_zero()
@Cast(value="float32") public static float b2Dot(@Const @ByRef b2Vec2 a, @Const @ByRef b2Vec2 b)
@Cast(value="float32") public static float b2Cross(@Const @ByRef b2Vec2 a, @Const @ByRef b2Vec2 b)
@ByVal public static b2Vec2 b2Cross(@Const @ByRef b2Vec2 a, @Cast(value="float32") float s)
@ByVal public static b2Vec2 b2Cross(@Cast(value="float32") float s, @Const @ByRef b2Vec2 a)
@ByVal public static b2Vec2 b2Mul(@Const @ByRef b2Mat22 A, @Const @ByRef b2Vec2 v)
@ByVal public static b2Vec2 b2MulT(@Const @ByRef b2Mat22 A, @Const @ByRef b2Vec2 v)
@ByVal @Name(value="operator +") public static b2Vec2 add(@Const @ByRef b2Vec2 a, @Const @ByRef b2Vec2 b)
@ByVal @Name(value="operator -") public static b2Vec2 subtract(@Const @ByRef b2Vec2 a, @Const @ByRef b2Vec2 b)
@ByVal @Name(value="operator *") public static b2Vec2 multiply(@Cast(value="float32") float s, @Const @ByRef b2Vec2 a)
@Cast(value="bool") @Name(value="operator ==") public static boolean equals(@Const @ByRef b2Vec2 a, @Const @ByRef b2Vec2 b)
@Cast(value="bool") @Name(value="operator !=") public static boolean notEquals(@Const @ByRef b2Vec2 a, @Const @ByRef b2Vec2 b)
@Cast(value="float32") public static float b2Distance(@Const @ByRef b2Vec2 a, @Const @ByRef b2Vec2 b)
@Cast(value="float32") public static float b2DistanceSquared(@Const @ByRef b2Vec2 a, @Const @ByRef b2Vec2 b)
@ByVal @Name(value="operator *") public static b2Vec3 multiply(@Cast(value="float32") float s, @Const @ByRef b2Vec3 a)
@ByVal @Name(value="operator +") public static b2Vec3 add(@Const @ByRef b2Vec3 a, @Const @ByRef b2Vec3 b)
@ByVal @Name(value="operator -") public static b2Vec3 subtract(@Const @ByRef b2Vec3 a, @Const @ByRef b2Vec3 b)
@Cast(value="float32") public static float b2Dot(@Const @ByRef b2Vec3 a, @Const @ByRef b2Vec3 b)
@ByVal public static b2Vec3 b2Cross(@Const @ByRef b2Vec3 a, @Const @ByRef b2Vec3 b)
@ByVal @Name(value="operator +") public static b2Mat22 add(@Const @ByRef b2Mat22 A, @Const @ByRef b2Mat22 B)
@ByVal public static b2Vec3 b2Mul(@Const @ByRef b2Mat33 A, @Const @ByRef b2Vec3 v)
@ByVal public static b2Vec2 b2Mul22(@Const @ByRef b2Mat33 A, @Const @ByRef b2Vec2 v)
@ByVal public static b2Rot b2Mul(@Const @ByRef b2Rot q, @Const @ByRef b2Rot r)
@ByVal public static b2Rot b2MulT(@Const @ByRef b2Rot q, @Const @ByRef b2Rot r)
@ByVal public static b2Vec2 b2Mul(@Const @ByRef b2Rot q, @Const @ByRef b2Vec2 v)
@ByVal public static b2Vec2 b2MulT(@Const @ByRef b2Rot q, @Const @ByRef b2Vec2 v)
@ByVal public static b2Transform b2Mul(@Const @ByRef b2Transform A, @Const @ByRef b2Transform B)
@ByVal public static b2Transform b2MulT(@Const @ByRef b2Transform A, @Const @ByRef b2Transform B)
@ByVal public static b2Vec2 b2Clamp(@Const @ByRef b2Vec2 a, @Const @ByRef b2Vec2 low, @Const @ByRef b2Vec2 high)
@Cast(value="uint32") public static long b2NextPowerOfTwo(@Cast(value="uint32") long x)
@Cast(value="bool") public static boolean b2IsPowerOfTwo(@Cast(value="uint32") long x)
@MemberGetter @Cast(value="const uint8") public static short b2_nullFeature()
public static void b2GetPointStates(@Cast(value="b2PointState*") IntPointer state1, @Cast(value="b2PointState*") IntPointer state2, @Const b2Manifold manifold1, @Const b2Manifold manifold2)
public static void b2GetPointStates(@Cast(value="b2PointState*") IntBuffer state1, @Cast(value="b2PointState*") IntBuffer state2, @Const b2Manifold manifold1, @Const b2Manifold manifold2)
public static void b2GetPointStates(@Cast(value="b2PointState*") int[] state1, @Cast(value="b2PointState*") int[] state2, @Const b2Manifold manifold1, @Const b2Manifold manifold2)
public static void b2CollideCircles(b2Manifold manifold, @Const b2CircleShape circleA, @Const @ByRef b2Transform xfA, @Const b2CircleShape circleB, @Const @ByRef b2Transform xfB)
public static void b2CollidePolygonAndCircle(b2Manifold manifold, @Const b2PolygonShape polygonA, @Const @ByRef b2Transform xfA, @Const b2CircleShape circleB, @Const @ByRef b2Transform xfB)
public static void b2CollidePolygons(b2Manifold manifold, @Const b2PolygonShape polygonA, @Const @ByRef b2Transform xfA, @Const b2PolygonShape polygonB, @Const @ByRef b2Transform xfB)
public static void b2CollideEdgeAndCircle(b2Manifold manifold, @Const b2EdgeShape polygonA, @Const @ByRef b2Transform xfA, @Const b2CircleShape circleB, @Const @ByRef b2Transform xfB)
public static void b2CollideEdgeAndPolygon(b2Manifold manifold, @Const b2EdgeShape edgeA, @Const @ByRef b2Transform xfA, @Const b2PolygonShape circleB, @Const @ByRef b2Transform xfB)
@Cast(value="int32") public static int b2ClipSegmentToLine(b2ClipVertex vOut, @Const b2ClipVertex vIn, @Const @ByRef b2Vec2 normal, @Cast(value="float32") float offset, @Cast(value="int32") int vertexIndexA)
@Cast(value="bool") public static boolean b2TestOverlap(@Const b2Shape shapeA, @Cast(value="int32") int indexA, @Const b2Shape shapeB, @Cast(value="int32") int indexB, @Const @ByRef b2Transform xfA, @Const @ByRef b2Transform xfB)
@Cast(value="bool") public static boolean b2TestOverlap(@Const @ByRef b2AABB a, @Const @ByRef b2AABB b)
@Cast(value="bool") public static boolean b2PairLessThan(@Const @ByRef b2Pair pair1, @Const @ByRef b2Pair pair2)
public static void b2Distance(b2DistanceOutput output, b2SimplexCache cache, @Const b2DistanceInput input)
public static void b2TimeOfImpact(b2TOIOutput output, @Const b2TOIInput input)
@Cast(value="float32") public static float b2MixFriction(@Cast(value="float32") float friction1, @Cast(value="float32") float friction2)
@Cast(value="float32") public static float b2MixRestitution(@Cast(value="float32") float restitution1, @Cast(value="float32") float restitution2)
@MemberGetter @Cast(value="const float32") public static float b2_minPulleyLength()
@ByRef public static b2ParticleColor b2ParticleColor_zero()
public static void b2ParticleColor_zero(b2ParticleColor setter)
Copyright © 2022. All rights reserved.