Index
Modules:
box2d
,
box2d/api
.
API symbols
b2AABB:
api: object b2AABB
b2AABB_Center:
api: template b2AABB_Center(a: b2AABB): b2Vec2
b2AABB_Contains:
api: proc b2AABB_Contains(a: b2AABB; b: b2AABB): bool
b2AABB_ContainsWithMargin:
api: template b2AABB_ContainsWithMargin(a: b2AABB; b: b2AABB; margin: cfloat): bool
b2AABB_Extents:
api: template b2AABB_Extents(a: b2AABB): b2Vec2
b2AABB_IsValid:
api: proc b2AABB_IsValid(aabb: b2AABB): bool
b2AABB_Overlaps:
api: proc b2AABB_Overlaps(a: b2AABB; b: b2AABB): bool
b2AABB_Union:
api: template b2AABB_Union(a: b2AABB; b: b2AABB): b2AABB
b2Abs:
api: template b2Abs(a: b2Vec2): b2Vec2
b2Add:
api: template b2Add(a: b2Vec2; b: b2Vec2): b2Vec2
b2AllocFcn:
api: type b2AllocFcn
b2AssertFcn:
api: type b2AssertFcn
b2Body_ApplyAngularImpulse:
api: proc b2Body_ApplyAngularImpulse(bodyId: b2BodyId; impulse: cfloat; wake: bool): void
b2Body_ApplyForce:
api: proc b2Body_ApplyForce(bodyId: b2BodyId; force: b2Vec2; point: b2Vec2; wake: bool): void
b2Body_ApplyForceToCenter:
api: proc b2Body_ApplyForceToCenter(bodyId: b2BodyId; force: b2Vec2; wake: bool): void
b2Body_ApplyLinearImpulse:
api: proc b2Body_ApplyLinearImpulse(bodyId: b2BodyId; impulse: b2Vec2; point: b2Vec2; wake: bool): void
b2Body_ApplyLinearImpulseToCenter:
api: proc b2Body_ApplyLinearImpulseToCenter(bodyId: b2BodyId; impulse: b2Vec2; wake: bool): void
b2Body_ApplyMassFromShapes:
api: proc b2Body_ApplyMassFromShapes(bodyId: b2BodyId): void
b2Body_ApplyTorque:
api: proc b2Body_ApplyTorque(bodyId: b2BodyId; torque: cfloat; wake: bool): void
b2Body_ComputeAABB:
api: proc b2Body_ComputeAABB(bodyId: b2BodyId): b2AABB
b2BodyDef:
api: object b2BodyDef
b2Body_Disable:
api: proc b2Body_Disable(bodyId: b2BodyId): void
b2Body_Enable:
api: proc b2Body_Enable(bodyId: b2BodyId): void
b2Body_EnableHitEvents:
api: proc b2Body_EnableHitEvents(bodyId: b2BodyId; enableHitEvents: bool): void
b2Body_EnableSleep:
api: proc b2Body_EnableSleep(bodyId: b2BodyId; enableSleep: bool): void
b2BodyEvents:
api: object b2BodyEvents
b2Body_GetAngularDamping:
api: proc b2Body_GetAngularDamping(bodyId: b2BodyId): cfloat
b2Body_GetAngularVelocity:
api: proc b2Body_GetAngularVelocity(bodyId: b2BodyId): cfloat
b2Body_GetAutomaticMass:
api: proc b2Body_GetAutomaticMass(bodyId: b2BodyId): bool
b2Body_GetContactCapacity:
api: proc b2Body_GetContactCapacity(bodyId: b2BodyId): cint
b2Body_GetContactData:
api: proc b2Body_GetContactData(bodyId: b2BodyId; contactData: ptr b2ContactData; capacity: cint): cint
b2Body_GetGravityScale:
api: proc b2Body_GetGravityScale(bodyId: b2BodyId): cfloat
b2Body_GetInertiaTensor:
api: proc b2Body_GetInertiaTensor(bodyId: b2BodyId): cfloat
b2Body_GetJointCount:
api: proc b2Body_GetJointCount(bodyId: b2BodyId): cint
b2Body_GetJoints:
api: proc b2Body_GetJoints(bodyId: b2BodyId; jointArray: ptr b2JointId; capacity: cint): cint
b2Body_GetLinearDamping:
api: proc b2Body_GetLinearDamping(bodyId: b2BodyId): cfloat
b2Body_GetLinearVelocity:
api: proc b2Body_GetLinearVelocity(bodyId: b2BodyId): b2Vec2
b2Body_GetLocalCenterOfMass:
api: proc b2Body_GetLocalCenterOfMass(bodyId: b2BodyId): b2Vec2
b2Body_GetLocalPoint:
api: proc b2Body_GetLocalPoint(bodyId: b2BodyId; worldPoint: b2Vec2): b2Vec2
b2Body_GetLocalVector:
api: proc b2Body_GetLocalVector(bodyId: b2BodyId; worldVector: b2Vec2): b2Vec2
b2Body_GetMass:
api: proc b2Body_GetMass(bodyId: b2BodyId): cfloat
b2Body_GetMassData:
api: proc b2Body_GetMassData(bodyId: b2BodyId): b2MassData
b2Body_GetPosition:
api: proc b2Body_GetPosition(bodyId: b2BodyId): b2Vec2
b2Body_GetRotation:
api: proc b2Body_GetRotation(bodyId: b2BodyId): b2Rot
b2Body_GetShapeCount:
api: proc b2Body_GetShapeCount(bodyId: b2BodyId): cint
b2Body_GetShapes:
api: proc b2Body_GetShapes(bodyId: b2BodyId; shapeArray: ptr b2ShapeId; capacity: cint): cint
b2Body_GetSleepThreshold:
api: proc b2Body_GetSleepThreshold(bodyId: b2BodyId): cfloat
b2Body_GetTransform:
api: proc b2Body_GetTransform(bodyId: b2BodyId): b2Transform
b2Body_GetType:
api: proc b2Body_GetType(bodyId: b2BodyId): b2BodyType
b2Body_GetUserData:
api: proc b2Body_GetUserData(bodyId: b2BodyId): pointer
b2Body_GetWorldCenterOfMass:
api: proc b2Body_GetWorldCenterOfMass(bodyId: b2BodyId): b2Vec2
b2Body_GetWorldPoint:
api: proc b2Body_GetWorldPoint(bodyId: b2BodyId; localPoint: b2Vec2): b2Vec2
b2Body_GetWorldVector:
api: proc b2Body_GetWorldVector(bodyId: b2BodyId; localVector: b2Vec2): b2Vec2
b2BodyId:
api: object b2BodyId
b2Body_IsAwake:
api: proc b2Body_IsAwake(bodyId: b2BodyId): bool
b2Body_IsBullet:
api: proc b2Body_IsBullet(bodyId: b2BodyId): bool
b2Body_IsEnabled:
api: proc b2Body_IsEnabled(bodyId: b2BodyId): bool
b2Body_IsFixedRotation:
api: proc b2Body_IsFixedRotation(bodyId: b2BodyId): bool
b2Body_IsSleepEnabled:
api: proc b2Body_IsSleepEnabled(bodyId: b2BodyId): bool
b2Body_IsValid:
api: proc b2Body_IsValid(id: b2BodyId): bool
b2BodyMoveEvent:
api: object b2BodyMoveEvent
b2Body_SetAngularDamping:
api: proc b2Body_SetAngularDamping(bodyId: b2BodyId; angularDamping: cfloat): void
b2Body_SetAngularVelocity:
api: proc b2Body_SetAngularVelocity(bodyId: b2BodyId; angularVelocity: cfloat): void
b2Body_SetAutomaticMass:
api: proc b2Body_SetAutomaticMass(bodyId: b2BodyId; automaticMass: bool): void
b2Body_SetAwake:
api: proc b2Body_SetAwake(bodyId: b2BodyId; awake: bool): void
b2Body_SetBullet:
api: proc b2Body_SetBullet(bodyId: b2BodyId; flag: bool): void
b2Body_SetFixedRotation:
api: proc b2Body_SetFixedRotation(bodyId: b2BodyId; flag: bool): void
b2Body_SetGravityScale:
api: proc b2Body_SetGravityScale(bodyId: b2BodyId; gravityScale: cfloat): void
b2Body_SetLinearDamping:
api: proc b2Body_SetLinearDamping(bodyId: b2BodyId; linearDamping: cfloat): void
b2Body_SetLinearVelocity:
api: proc b2Body_SetLinearVelocity(bodyId: b2BodyId; linearVelocity: b2Vec2): void
b2Body_SetMassData:
api: proc b2Body_SetMassData(bodyId: b2BodyId; massData: b2MassData): void
b2Body_SetSleepThreshold:
api: proc b2Body_SetSleepThreshold(bodyId: b2BodyId; sleepVelocity: cfloat): void
b2Body_SetTransform:
api: proc b2Body_SetTransform(bodyId: b2BodyId; position: b2Vec2; rotation: b2Rot): void
b2Body_SetType:
api: proc b2Body_SetType(bodyId: b2BodyId; bodyType: b2BodyType): void
b2Body_SetUserData:
api: proc b2Body_SetUserData(bodyId: b2BodyId; userData: pointer): void
b2BodyType:
api: enum b2BodyType
b2BoundingPowerOf2:
api: proc b2BoundingPowerOf2(x: cint): cint
b2Capsule:
api: object b2Capsule
b2CastOutput:
api: object b2CastOutput
b2CastResultFcn:
api: type b2CastResultFcn
b2ChainDef:
api: object b2ChainDef
b2ChainId:
api: object b2ChainId
b2Chain_IsValid:
api: proc b2Chain_IsValid(id: b2ChainId): bool
b2Chain_SetFriction:
api: proc b2Chain_SetFriction(chainId: b2ChainId; friction: cfloat): void
b2Chain_SetRestitution:
api: proc b2Chain_SetRestitution(chainId: b2ChainId; restitution: cfloat): void
b2Circle:
api: object b2Circle
b2Clamp:
api: template b2Clamp(v: b2Vec2; a: b2Vec2; b: b2Vec2): b2Vec2
b2CollideCapsuleAndCircle:
api: proc b2CollideCapsuleAndCircle(capsuleA: ptr b2Capsule; xfA: b2Transform; circleB: ptr b2Circle; xfB: b2Transform): b2Manifold
b2CollideCapsules:
api: proc b2CollideCapsules(capsuleA: ptr b2Capsule; xfA: b2Transform; capsuleB: ptr b2Capsule; xfB: b2Transform): b2Manifold
b2CollideCircles:
api: proc b2CollideCircles(circleA: ptr b2Circle; xfA: b2Transform; circleB: ptr b2Circle; xfB: b2Transform): b2Manifold
b2CollidePolygonAndCapsule:
api: proc b2CollidePolygonAndCapsule(polygonA: ptr b2Polygon; xfA: b2Transform; capsuleB: ptr b2Capsule; xfB: b2Transform): b2Manifold
b2CollidePolygonAndCircle:
api: proc b2CollidePolygonAndCircle(polygonA: ptr b2Polygon; xfA: b2Transform; circleB: ptr b2Circle; xfB: b2Transform): b2Manifold
b2CollidePolygons:
api: proc b2CollidePolygons(polygonA: ptr b2Polygon; xfA: b2Transform; polygonB: ptr b2Polygon; xfB: b2Transform): b2Manifold
b2CollideSegmentAndCapsule:
api: proc b2CollideSegmentAndCapsule(segmentA: ptr b2Segment; xfA: b2Transform; capsuleB: ptr b2Capsule; xfB: b2Transform): b2Manifold
b2CollideSegmentAndCircle:
api: proc b2CollideSegmentAndCircle(segmentA: ptr b2Segment; xfA: b2Transform; circleB: ptr b2Circle; xfB: b2Transform): b2Manifold
b2CollideSegmentAndPolygon:
api: proc b2CollideSegmentAndPolygon(segmentA: ptr b2Segment; xfA: b2Transform; polygonB: ptr b2Polygon; xfB: b2Transform): b2Manifold
b2CollideSmoothSegmentAndCapsule:
api: proc b2CollideSmoothSegmentAndCapsule(smoothSegmentA: ptr b2SmoothSegment; xfA: b2Transform; capsuleB: ptr b2Capsule; xfB: b2Transform; cache: ptr b2DistanceCache): b2Manifold
b2CollideSmoothSegmentAndCircle:
api: proc b2CollideSmoothSegmentAndCircle(smoothSegmentA: ptr b2SmoothSegment; xfA: b2Transform; circleB: ptr b2Circle; xfB: b2Transform): b2Manifold
b2CollideSmoothSegmentAndPolygon:
api: proc b2CollideSmoothSegmentAndPolygon(smoothSegmentA: ptr b2SmoothSegment; xfA: b2Transform; polygonB: ptr b2Polygon; xfB: b2Transform; cache: ptr b2DistanceCache): b2Manifold
b2_colorCyan:
api: const b2_colorCyan
b2_colorLime:
api: const b2_colorLime
b2_colorMagenta:
api: const b2_colorMagenta
b2_colorNavyBlue:
api: const b2_colorNavyBlue
b2ComputeAngularVelocity:
api: template b2ComputeAngularVelocity(q1: b2Rot; q2: b2Rot; inv_h: cfloat): cfloat
b2ComputeCapsuleAABB:
api: proc b2ComputeCapsuleAABB(shape: ptr b2Capsule; transform: b2Transform): b2AABB
b2ComputeCapsuleMass:
api: proc b2ComputeCapsuleMass(shape: ptr b2Capsule; density: cfloat): b2MassData
b2ComputeCircleAABB:
api: proc b2ComputeCircleAABB(shape: ptr b2Circle; transform: b2Transform): b2AABB
b2ComputeCircleMass:
api: proc b2ComputeCircleMass(shape: ptr b2Circle; density: cfloat): b2MassData
b2ComputeHull:
api: proc b2ComputeHull(points: ptr b2Vec2; count: int32): b2Hull
b2ComputePolygonAABB:
api: proc b2ComputePolygonAABB(shape: ptr b2Polygon; transform: b2Transform): b2AABB
b2ComputePolygonMass:
api: proc b2ComputePolygonMass(shape: ptr b2Polygon; density: cfloat): b2MassData
b2ComputeSegmentAABB:
api: proc b2ComputeSegmentAABB(shape: ptr b2Segment; transform: b2Transform): b2AABB
b2ContactBeginTouchEvent:
api: object b2ContactBeginTouchEvent
b2ContactData:
api: object b2ContactData
b2ContactEndTouchEvent:
api: object b2ContactEndTouchEvent
b2ContactEvents:
api: object b2ContactEvents
b2ContactHitEvent:
api: object b2ContactHitEvent
b2Counters:
api: object b2Counters
b2CreateBody:
api: proc b2CreateBody(worldId: b2WorldId; def: ptr b2BodyDef): b2BodyId
b2CreateCapsuleShape:
api: proc b2CreateCapsuleShape(bodyId: b2BodyId; def: ptr b2ShapeDef; capsule: ptr b2Capsule): b2ShapeId
b2CreateChain:
api: proc b2CreateChain(bodyId: b2BodyId; def: ptr b2ChainDef): b2ChainId
b2CreateCircleShape:
api: proc b2CreateCircleShape(bodyId: b2BodyId; def: ptr b2ShapeDef; circle: ptr b2Circle): b2ShapeId
b2CreateDistanceJoint:
api: proc b2CreateDistanceJoint(worldId: b2WorldId; def: ptr b2DistanceJointDef): b2JointId
b2CreateMotorJoint:
api: proc b2CreateMotorJoint(worldId: b2WorldId; def: ptr b2MotorJointDef): b2JointId
b2CreateMouseJoint:
api: proc b2CreateMouseJoint(worldId: b2WorldId; def: ptr b2MouseJointDef): b2JointId
b2CreatePolygonShape:
api: proc b2CreatePolygonShape(bodyId: b2BodyId; def: ptr b2ShapeDef; polygon: ptr b2Polygon): b2ShapeId
b2CreatePrismaticJoint:
api: proc b2CreatePrismaticJoint(worldId: b2WorldId; def: ptr b2PrismaticJointDef): b2JointId
b2CreateRevoluteJoint:
api: proc b2CreateRevoluteJoint(worldId: b2WorldId; def: ptr b2RevoluteJointDef): b2JointId
b2CreateSegmentShape:
api: proc b2CreateSegmentShape(bodyId: b2BodyId; def: ptr b2ShapeDef; segment: ptr b2Segment): b2ShapeId
b2CreateTimer:
api: proc b2CreateTimer(): b2Timer
b2CreateWeldJoint:
api: proc b2CreateWeldJoint(worldId: b2WorldId; def: ptr b2WeldJointDef): b2JointId
b2CreateWheelJoint:
api: proc b2CreateWheelJoint(worldId: b2WorldId; def: ptr b2WheelJointDef): b2JointId
b2CreateWorld:
api: proc b2CreateWorld(def: ptr b2WorldDef): b2WorldId
b2Cross:
api: template b2Cross(a: b2Vec2; b: b2Vec2): cfloat
b2CrossSV:
api: template b2CrossSV(s: cfloat; v: b2Vec2): b2Vec2
b2CrossVS:
api: template b2CrossVS(v: b2Vec2; s: cfloat): b2Vec2
b2CustomFilterFcn:
api: type b2CustomFilterFcn
b2DebugDraw:
api: object b2DebugDraw
b2DefaultBodyDef:
api: proc b2DefaultBodyDef(): b2BodyDef
b2_defaultCategoryBits:
api: const b2_defaultCategoryBits
b2DefaultChainDef:
api: proc b2DefaultChainDef(): b2ChainDef
b2DefaultDistanceJointDef:
api: proc b2DefaultDistanceJointDef(): b2DistanceJointDef
b2DefaultFilter:
api: proc b2DefaultFilter(): b2Filter
b2_defaultMaskBits:
api: const b2_defaultMaskBits
b2DefaultMotorJointDef:
api: proc b2DefaultMotorJointDef(): b2MotorJointDef
b2DefaultMouseJointDef:
api: proc b2DefaultMouseJointDef(): b2MouseJointDef
b2DefaultPrismaticJointDef:
api: proc b2DefaultPrismaticJointDef(): b2PrismaticJointDef
b2DefaultQueryFilter:
api: proc b2DefaultQueryFilter(): b2QueryFilter
b2DefaultRevoluteJointDef:
api: proc b2DefaultRevoluteJointDef(): b2RevoluteJointDef
b2DefaultShapeDef:
api: proc b2DefaultShapeDef(): b2ShapeDef
b2DefaultWeldJointDef:
api: proc b2DefaultWeldJointDef(): b2WeldJointDef
b2DefaultWheelJointDef:
api: proc b2DefaultWheelJointDef(): b2WheelJointDef
b2DefaultWorldDef:
api: proc b2DefaultWorldDef(): b2WorldDef
b2DestroyBody:
api: proc b2DestroyBody(bodyId: b2BodyId): void
b2DestroyChain:
api: proc b2DestroyChain(chainId: b2ChainId): void
b2DestroyJoint:
api: proc b2DestroyJoint(jointId: b2JointId): void
b2DestroyShape:
api: proc b2DestroyShape(shapeId: b2ShapeId): void
b2DestroyWorld:
api: proc b2DestroyWorld(worldId: b2WorldId): void
b2Distance:
api: proc b2Distance(a: b2Vec2; b: b2Vec2): cfloat
b2DistanceCache:
api: object b2DistanceCache
b2DistanceInput:
api: object b2DistanceInput
b2DistanceJointDef:
api: object b2DistanceJointDef
b2DistanceJoint_EnableLimit:
api: proc b2DistanceJoint_EnableLimit(jointId: b2JointId; enableLimit: bool): void
b2DistanceJoint_EnableMotor:
api: proc b2DistanceJoint_EnableMotor(jointId: b2JointId; enableMotor: bool): void
b2DistanceJoint_EnableSpring:
api: proc b2DistanceJoint_EnableSpring(jointId: b2JointId; enableSpring: bool): void
b2DistanceJoint_GetCurrentLength:
api: proc b2DistanceJoint_GetCurrentLength(jointId: b2JointId): cfloat
b2DistanceJoint_GetDampingRatio:
api: proc b2DistanceJoint_GetDampingRatio(jointId: b2JointId): cfloat
b2DistanceJoint_GetHertz:
api: proc b2DistanceJoint_GetHertz(jointId: b2JointId): cfloat
b2DistanceJoint_GetLength:
api: proc b2DistanceJoint_GetLength(jointId: b2JointId): cfloat
b2DistanceJoint_GetMaxLength:
api: proc b2DistanceJoint_GetMaxLength(jointId: b2JointId): cfloat
b2DistanceJoint_GetMaxMotorForce:
api: proc b2DistanceJoint_GetMaxMotorForce(jointId: b2JointId): cfloat
b2DistanceJoint_GetMinLength:
api: proc b2DistanceJoint_GetMinLength(jointId: b2JointId): cfloat
b2DistanceJoint_GetMotorForce:
api: proc b2DistanceJoint_GetMotorForce(jointId: b2JointId): cfloat
b2DistanceJoint_GetMotorSpeed:
api: proc b2DistanceJoint_GetMotorSpeed(jointId: b2JointId): cfloat
b2DistanceJoint_IsLimitEnabled:
api: proc b2DistanceJoint_IsLimitEnabled(jointId: b2JointId): bool
b2DistanceJoint_IsMotorEnabled:
api: proc b2DistanceJoint_IsMotorEnabled(jointId: b2JointId): bool
b2DistanceJoint_IsSpringEnabled:
api: proc b2DistanceJoint_IsSpringEnabled(jointId: b2JointId): bool
b2DistanceJoint_SetLength:
api: proc b2DistanceJoint_SetLength(jointId: b2JointId; length: cfloat): void
b2DistanceJoint_SetLengthRange:
api: proc b2DistanceJoint_SetLengthRange(jointId: b2JointId; minLength: cfloat; maxLength: cfloat): void
b2DistanceJoint_SetMaxMotorForce:
api: proc b2DistanceJoint_SetMaxMotorForce(jointId: b2JointId; force: cfloat): void
b2DistanceJoint_SetMotorSpeed:
api: proc b2DistanceJoint_SetMotorSpeed(jointId: b2JointId; motorSpeed: cfloat): void
b2DistanceJoint_SetSpringDampingRatio:
api: proc b2DistanceJoint_SetSpringDampingRatio(jointId: b2JointId; dampingRatio: cfloat): void
b2DistanceJoint_SetSpringHertz:
api: proc b2DistanceJoint_SetSpringHertz(jointId: b2JointId; hertz: cfloat): void
b2DistanceOutput:
api: object b2DistanceOutput
b2DistanceProxy:
api: object b2DistanceProxy
b2DistanceSquared:
api: proc b2DistanceSquared(a: b2Vec2; b: b2Vec2): cfloat
b2Dot:
api: template b2Dot(a: b2Vec2; b: b2Vec2): cfloat
b2DynamicTree:
api: object b2DynamicTree
b2DynamicTree_Create:
api: proc b2DynamicTree_Create(): b2DynamicTree
b2DynamicTree_CreateProxy:
api: proc b2DynamicTree_CreateProxy(tree: ptr b2DynamicTree; aabb: b2AABB; categoryBits: uint32; userData: int32): int32
b2DynamicTree_Destroy:
api: proc b2DynamicTree_Destroy(tree: ptr b2DynamicTree): void
b2DynamicTree_DestroyProxy:
api: proc b2DynamicTree_DestroyProxy(tree: ptr b2DynamicTree; proxyId: int32): void
b2DynamicTree_EnlargeProxy:
api: proc b2DynamicTree_EnlargeProxy(tree: ptr b2DynamicTree; proxyId: int32; aabb: b2AABB): void
b2DynamicTree_GetAreaRatio:
api: proc b2DynamicTree_GetAreaRatio(tree: ptr b2DynamicTree): cfloat
b2DynamicTree_GetByteCount:
api: proc b2DynamicTree_GetByteCount(tree: ptr b2DynamicTree): cint
b2DynamicTree_GetHeight:
api: proc b2DynamicTree_GetHeight(tree: ptr b2DynamicTree): cint
b2DynamicTree_GetMaxBalance:
api: proc b2DynamicTree_GetMaxBalance(tree: ptr b2DynamicTree): cint
b2DynamicTree_GetProxyCount:
api: proc b2DynamicTree_GetProxyCount(tree: ptr b2DynamicTree): cint
b2DynamicTree_MoveProxy:
api: proc b2DynamicTree_MoveProxy(tree: ptr b2DynamicTree; proxyId: int32; aabb: b2AABB): void
b2DynamicTree_Query:
api: proc b2DynamicTree_Query(tree: ptr b2DynamicTree; aabb: b2AABB; maskBits: uint32; callback: b2TreeQueryCallbackFcn; context: pointer): void
b2DynamicTree_RayCast:
api: proc b2DynamicTree_RayCast(tree: ptr b2DynamicTree; input: ptr b2RayCastInput; maskBits: uint32; callback: b2TreeRayCastCallbackFcn; context: pointer): void
b2DynamicTree_Rebuild:
api: proc b2DynamicTree_Rebuild(tree: ptr b2DynamicTree; fullBuild: bool): cint
b2DynamicTree_RebuildBottomUp:
api: proc b2DynamicTree_RebuildBottomUp(tree: ptr b2DynamicTree): void
b2DynamicTree_ShapeCast:
api: proc b2DynamicTree_ShapeCast(tree: ptr b2DynamicTree; input: ptr b2ShapeCastInput; maskBits: uint32; callback: b2TreeShapeCastCallbackFcn; context: pointer): void
b2DynamicTree_ShiftOrigin:
api: proc b2DynamicTree_ShiftOrigin(tree: ptr b2DynamicTree; newOrigin: b2Vec2): void
b2DynamicTree_Validate:
api: proc b2DynamicTree_Validate(tree: ptr b2DynamicTree): void
b2_emptyDistanceCache:
api: var b2_emptyDistanceCache
b2EnlargeAABB:
api: proc b2EnlargeAABB(a: ptr b2AABB; b: b2AABB): bool
b2EnqueueTaskCallback:
api: type b2EnqueueTaskCallback
b2Filter:
api: object b2Filter
b2FinishTaskCallback:
api: type b2FinishTaskCallback
b2FreeFcn:
api: type b2FreeFcn
b2GetByteCount:
api: proc b2GetByteCount(): cint
b2GetInverse22:
api: proc b2GetInverse22(A: b2Mat22): b2Mat22
b2GetLengthAndNormalize:
api: proc b2GetLengthAndNormalize(length: ptr cfloat; v: b2Vec2): b2Vec2
b2GetLengthUnitsPerMeter:
api: proc b2GetLengthUnitsPerMeter(): cfloat
b2GetMilliseconds:
api: proc b2GetMilliseconds(timer: ptr b2Timer): cfloat
b2GetMillisecondsAndReset:
api: proc b2GetMillisecondsAndReset(timer: ptr b2Timer): cfloat
b2GetSweepTransform:
api: proc b2GetSweepTransform(sweep: ptr b2Sweep; time: cfloat): b2Transform
b2GetTicks:
api: proc b2GetTicks(timer: ptr b2Timer): int64
b2GetVersion:
api: proc b2GetVersion(): b2Version
b2HexColor:
api: enum b2HexColor
b2Hull:
api: object b2Hull
b2IntegrateRotation:
api: proc b2IntegrateRotation(q1: b2Rot; deltaAngle: cfloat): b2Rot
b2InvMulRot:
api: template b2InvMulRot(q: b2Rot; r: b2Rot): b2Rot
b2InvMulTransforms:
api: proc b2InvMulTransforms(A: b2Transform; B: b2Transform): b2Transform
b2InvRotateVector:
api: template b2InvRotateVector(q: b2Rot; v: b2Vec2): b2Vec2
b2InvTransformPoint:
api: proc b2InvTransformPoint(t: b2Transform; p: b2Vec2): b2Vec2
b2IsNormalized:
api: proc b2IsNormalized(q: b2Rot): bool
b2IsPowerOf2:
api: template b2IsPowerOf2(x: cint): bool
b2IsValid:
api: proc b2IsValid(a: cfloat): bool
b2IsValidRay:
api: proc b2IsValidRay(input: ptr b2RayCastInput): bool
b2Joint_GetBodyA:
api: proc b2Joint_GetBodyA(jointId: b2JointId): b2BodyId
b2Joint_GetBodyB:
api: proc b2Joint_GetBodyB(jointId: b2JointId): b2BodyId
b2Joint_GetCollideConnected:
api: proc b2Joint_GetCollideConnected(jointId: b2JointId): bool
b2Joint_GetConstraintForce:
api: proc b2Joint_GetConstraintForce(jointId: b2JointId): b2Vec2
b2Joint_GetConstraintTorque:
api: proc b2Joint_GetConstraintTorque(jointId: b2JointId): cfloat
b2Joint_GetLocalAnchorA:
api: proc b2Joint_GetLocalAnchorA(jointId: b2JointId): b2Vec2
b2Joint_GetLocalAnchorB:
api: proc b2Joint_GetLocalAnchorB(jointId: b2JointId): b2Vec2
b2Joint_GetType:
api: proc b2Joint_GetType(jointId: b2JointId): b2JointType
b2Joint_GetUserData:
api: proc b2Joint_GetUserData(jointId: b2JointId): pointer
b2JointId:
api: object b2JointId
b2Joint_IsValid:
api: proc b2Joint_IsValid(id: b2JointId): bool
b2Joint_SetCollideConnected:
api: proc b2Joint_SetCollideConnected(jointId: b2JointId; shouldCollide: bool): void
b2Joint_SetUserData:
api: proc b2Joint_SetUserData(jointId: b2JointId; userData: pointer): void
b2JointType:
api: enum b2JointType
b2Joint_WakeBodies:
api: proc b2Joint_WakeBodies(jointId: b2JointId): void
b2LeftPerp:
api: template b2LeftPerp(v: b2Vec2): b2Vec2
b2Length:
api: template b2Length(v: b2Vec2): cfloat
b2LengthSquared:
api: template b2LengthSquared(v: b2Vec2): cfloat
b2Lerp:
api: template b2Lerp(a: b2Vec2; b: b2Vec2; t: cfloat): b2Vec2
b2MakeBox:
api: proc b2MakeBox(hx: cfloat; hy: cfloat): b2Polygon
b2MakeOffsetBox:
api: proc b2MakeOffsetBox(hx: cfloat; hy: cfloat; center: b2Vec2; angle: cfloat): b2Polygon
b2MakeOffsetPolygon:
api: proc b2MakeOffsetPolygon(hull: ptr b2Hull; radius: cfloat; transform: b2Transform): b2Polygon
b2MakePolygon:
api: proc b2MakePolygon(hull: ptr b2Hull; radius: cfloat): b2Polygon
b2MakeProxy:
api: proc b2MakeProxy(vertices: ptr b2Vec2; count: int32; radius: cfloat): b2DistanceProxy
b2MakeRot:
api: template b2MakeRot(angle: cfloat): b2Rot
b2MakeRoundedBox:
api: proc b2MakeRoundedBox(hx: cfloat; hy: cfloat; radius: cfloat): b2Polygon
b2MakeSquare:
api: proc b2MakeSquare(h: cfloat): b2Polygon
b2Manifold:
api: object b2Manifold
b2ManifoldPoint:
api: object b2ManifoldPoint
b2MassData:
api: object b2MassData
b2Mat22:
api: object b2Mat22
b2Mat22_zero:
api: const b2Mat22_zero
b2Max:
api: template b2Max(a: b2Vec2; b: b2Vec2): b2Vec2
b2_maxPolygonVertices:
api: const b2_maxPolygonVertices
b2Min:
api: template b2Min(a: b2Vec2; b: b2Vec2): b2Vec2
b2MotorJointDef:
api: object b2MotorJointDef
b2MotorJoint_GetAngularOffset:
api: proc b2MotorJoint_GetAngularOffset(jointId: b2JointId): cfloat
b2MotorJoint_GetCorrectionFactor:
api: proc b2MotorJoint_GetCorrectionFactor(jointId: b2JointId): cfloat
b2MotorJoint_GetLinearOffset:
api: proc b2MotorJoint_GetLinearOffset(jointId: b2JointId): b2Vec2
b2MotorJoint_GetMaxForce:
api: proc b2MotorJoint_GetMaxForce(jointId: b2JointId): cfloat
b2MotorJoint_GetMaxTorque:
api: proc b2MotorJoint_GetMaxTorque(jointId: b2JointId): cfloat
b2MotorJoint_SetAngularOffset:
api: proc b2MotorJoint_SetAngularOffset(jointId: b2JointId; angularOffset: cfloat): void
b2MotorJoint_SetCorrectionFactor:
api: proc b2MotorJoint_SetCorrectionFactor(jointId: b2JointId; correctionFactor: cfloat): void
b2MotorJoint_SetLinearOffset:
api: proc b2MotorJoint_SetLinearOffset(jointId: b2JointId; linearOffset: b2Vec2): void
b2MotorJoint_SetMaxForce:
api: proc b2MotorJoint_SetMaxForce(jointId: b2JointId; maxForce: cfloat): void
b2MotorJoint_SetMaxTorque:
api: proc b2MotorJoint_SetMaxTorque(jointId: b2JointId; maxTorque: cfloat): void
b2MouseJointDef:
api: object b2MouseJointDef
b2MouseJoint_GetMaxForce:
api: proc b2MouseJoint_GetMaxForce(jointId: b2JointId): cfloat
b2MouseJoint_GetSpringDampingRatio:
api: proc b2MouseJoint_GetSpringDampingRatio(jointId: b2JointId): cfloat
b2MouseJoint_GetSpringHertz:
api: proc b2MouseJoint_GetSpringHertz(jointId: b2JointId): cfloat
b2MouseJoint_GetTarget:
api: proc b2MouseJoint_GetTarget(jointId: b2JointId): b2Vec2
b2MouseJoint_SetMaxForce:
api: proc b2MouseJoint_SetMaxForce(jointId: b2JointId; maxForce: cfloat): void
b2MouseJoint_SetSpringDampingRatio:
api: proc b2MouseJoint_SetSpringDampingRatio(jointId: b2JointId; dampingRatio: cfloat): void
b2MouseJoint_SetSpringHertz:
api: proc b2MouseJoint_SetSpringHertz(jointId: b2JointId; hertz: cfloat): void
b2MouseJoint_SetTarget:
api: proc b2MouseJoint_SetTarget(jointId: b2JointId; target: b2Vec2): void
b2Mul:
api: template b2Mul(a: b2Vec2; b: b2Vec2): b2Vec2
b2MulAdd:
api: template b2MulAdd(a: b2Vec2; s: cfloat; b: b2Vec2): b2Vec2
b2MulMV:
api: template b2MulMV(A: b2Mat22; v: b2Vec2): b2Vec2
b2MulRot:
api: template b2MulRot(q: b2Rot; r: b2Rot): b2Rot
b2MulSub:
api: template b2MulSub(a: b2Vec2; s: cfloat; b: b2Vec2): b2Vec2
b2MulSV:
api: template b2MulSV(s: cfloat; v: b2Vec2): b2Vec2
b2MulTransforms:
api: proc b2MulTransforms(A: b2Transform; B: b2Transform): b2Transform
b2Neg:
api: template b2Neg(a: b2Vec2): b2Vec2
b2NLerp:
api: proc b2NLerp(q1: b2Rot; q2: b2Rot; t: cfloat): b2Rot
b2Normalize:
api: proc b2Normalize(v: b2Vec2): b2Vec2
b2NormalizeChecked:
api: proc b2NormalizeChecked(v: b2Vec2): b2Vec2
b2NormalizeRot:
api: proc b2NormalizeRot(q: b2Rot): b2Rot
b2_nullBodyId:
api: const b2_nullBodyId
b2_nullChainId:
api: const b2_nullChainId
b2_nullJointId:
api: const b2_nullJointId
b2_nullShapeId:
api: const b2_nullShapeId
b2_nullWorldId:
api: const b2_nullWorldId
b2OverlapResultFcn:
api: type b2OverlapResultFcn
b2Perimeter:
api: proc b2Perimeter(a: b2AABB): cfloat
b2_pi:
api: const b2_pi
b2PointInCapsule:
api: proc b2PointInCapsule(point: b2Vec2; shape: ptr b2Capsule): bool
b2PointInCircle:
api: proc b2PointInCircle(point: b2Vec2; shape: ptr b2Circle): bool
b2PointInPolygon:
api: proc b2PointInPolygon(point: b2Vec2; shape: ptr b2Polygon): bool
b2Polygon:
api: object b2Polygon
b2PreSolveFcn:
api: type b2PreSolveFcn
b2PrismaticJointDef:
api: object b2PrismaticJointDef
b2PrismaticJoint_EnableLimit:
api: proc b2PrismaticJoint_EnableLimit(jointId: b2JointId; enableLimit: bool): void
b2PrismaticJoint_EnableMotor:
api: proc b2PrismaticJoint_EnableMotor(jointId: b2JointId; enableMotor: bool): void
b2PrismaticJoint_EnableSpring:
api: proc b2PrismaticJoint_EnableSpring(jointId: b2JointId; enableSpring: bool): void
b2PrismaticJoint_GetLowerLimit:
api: proc b2PrismaticJoint_GetLowerLimit(jointId: b2JointId): cfloat
b2PrismaticJoint_GetMaxMotorForce:
api: proc b2PrismaticJoint_GetMaxMotorForce(jointId: b2JointId): cfloat
b2PrismaticJoint_GetMotorForce:
api: proc b2PrismaticJoint_GetMotorForce(jointId: b2JointId): cfloat
b2PrismaticJoint_GetMotorSpeed:
api: proc b2PrismaticJoint_GetMotorSpeed(jointId: b2JointId): cfloat
b2PrismaticJoint_GetSpringDampingRatio:
api: proc b2PrismaticJoint_GetSpringDampingRatio(jointId: b2JointId): cfloat
b2PrismaticJoint_GetSpringHertz:
api: proc b2PrismaticJoint_GetSpringHertz(jointId: b2JointId): cfloat
b2PrismaticJoint_GetUpperLimit:
api: proc b2PrismaticJoint_GetUpperLimit(jointId: b2JointId): cfloat
b2PrismaticJoint_IsLimitEnabled:
api: proc b2PrismaticJoint_IsLimitEnabled(jointId: b2JointId): bool
b2PrismaticJoint_IsMotorEnabled:
api: proc b2PrismaticJoint_IsMotorEnabled(jointId: b2JointId): bool
b2PrismaticJoint_IsSpringEnabled:
api: proc b2PrismaticJoint_IsSpringEnabled(jointId: b2JointId): bool
b2PrismaticJoint_SetLimits:
api: proc b2PrismaticJoint_SetLimits(jointId: b2JointId; lower: cfloat; upper: cfloat): void
b2PrismaticJoint_SetMaxMotorForce:
api: proc b2PrismaticJoint_SetMaxMotorForce(jointId: b2JointId; force: cfloat): void
b2PrismaticJoint_SetMotorSpeed:
api: proc b2PrismaticJoint_SetMotorSpeed(jointId: b2JointId; motorSpeed: cfloat): void
b2PrismaticJoint_SetSpringDampingRatio:
api: proc b2PrismaticJoint_SetSpringDampingRatio(jointId: b2JointId; dampingRatio: cfloat): void
b2PrismaticJoint_SetSpringHertz:
api: proc b2PrismaticJoint_SetSpringHertz(jointId: b2JointId; hertz: cfloat): void
b2Profile:
api: object b2Profile
b2QueryFilter:
api: object b2QueryFilter
b2RayCastCapsule:
api: proc b2RayCastCapsule(input: ptr b2RayCastInput; shape: ptr b2Capsule): b2CastOutput
b2RayCastCircle:
api: proc b2RayCastCircle(input: ptr b2RayCastInput; shape: ptr b2Circle): b2CastOutput
b2RayCastInput:
api: object b2RayCastInput
b2RayCastPolygon:
api: proc b2RayCastPolygon(input: ptr b2RayCastInput; shape: ptr b2Polygon): b2CastOutput
b2RayCastSegment:
api: proc b2RayCastSegment(input: ptr b2RayCastInput; shape: ptr b2Segment; oneSided: bool): b2CastOutput
b2RayResult:
api: object b2RayResult
b2RelativeAngle:
api: proc b2RelativeAngle(a: b2Rot; b: b2Rot): cfloat
b2RevoluteJointDef:
api: object b2RevoluteJointDef
b2RevoluteJoint_EnableLimit:
api: proc b2RevoluteJoint_EnableLimit(jointId: b2JointId; enableLimit: bool): void
b2RevoluteJoint_EnableMotor:
api: proc b2RevoluteJoint_EnableMotor(jointId: b2JointId; enableMotor: bool): void
b2RevoluteJoint_EnableSpring:
api: proc b2RevoluteJoint_EnableSpring(jointId: b2JointId; enableSpring: bool): void
b2RevoluteJoint_GetAngle:
api: proc b2RevoluteJoint_GetAngle(jointId: b2JointId): cfloat
b2RevoluteJoint_GetLowerLimit:
api: proc b2RevoluteJoint_GetLowerLimit(jointId: b2JointId): cfloat
b2RevoluteJoint_GetMaxMotorTorque:
api: proc b2RevoluteJoint_GetMaxMotorTorque(jointId: b2JointId): cfloat
b2RevoluteJoint_GetMotorSpeed:
api: proc b2RevoluteJoint_GetMotorSpeed(jointId: b2JointId): cfloat
b2RevoluteJoint_GetMotorTorque:
api: proc b2RevoluteJoint_GetMotorTorque(jointId: b2JointId): cfloat
b2RevoluteJoint_GetSpringDampingRatio:
api: proc b2RevoluteJoint_GetSpringDampingRatio(jointId: b2JointId): cfloat
b2RevoluteJoint_GetSpringHertz:
api: proc b2RevoluteJoint_GetSpringHertz(jointId: b2JointId): cfloat
b2RevoluteJoint_GetUpperLimit:
api: proc b2RevoluteJoint_GetUpperLimit(jointId: b2JointId): cfloat
b2RevoluteJoint_IsLimitEnabled:
api: proc b2RevoluteJoint_IsLimitEnabled(jointId: b2JointId): bool
b2RevoluteJoint_IsMotorEnabled:
api: proc b2RevoluteJoint_IsMotorEnabled(jointId: b2JointId): bool
b2RevoluteJoint_SetLimits:
api: proc b2RevoluteJoint_SetLimits(jointId: b2JointId; lower: cfloat; upper: cfloat): void
b2RevoluteJoint_SetMaxMotorTorque:
api: proc b2RevoluteJoint_SetMaxMotorTorque(jointId: b2JointId; torque: cfloat): void
b2RevoluteJoint_SetMotorSpeed:
api: proc b2RevoluteJoint_SetMotorSpeed(jointId: b2JointId; motorSpeed: cfloat): void
b2RevoluteJoint_SetSpringDampingRatio:
api: proc b2RevoluteJoint_SetSpringDampingRatio(jointId: b2JointId; dampingRatio: cfloat): void
b2RevoluteJoint_SetSpringHertz:
api: proc b2RevoluteJoint_SetSpringHertz(jointId: b2JointId; hertz: cfloat): void
b2RightPerp:
api: template b2RightPerp(v: b2Vec2): b2Vec2
b2Rot:
api: object b2Rot
b2RotateVector:
api: template b2RotateVector(q: b2Rot; v: b2Vec2): b2Vec2
b2Rot_GetAngle:
api: template b2Rot_GetAngle(q: b2Rot): cfloat
b2Rot_GetXAxis:
api: template b2Rot_GetXAxis(q: b2Rot): b2Vec2
b2Rot_GetYAxis:
api: template b2Rot_GetYAxis(q: b2Rot): b2Vec2
b2Rot_identity:
api: const b2Rot_identity
b2Rot_IsValid:
api: proc b2Rot_IsValid(q: b2Rot): bool
b2RoundUpPowerOf2:
api: proc b2RoundUpPowerOf2(x: cint): cint
b2Segment:
api: object b2Segment
b2SegmentDistance:
api: proc b2SegmentDistance(p1: b2Vec2; q1: b2Vec2; p2: b2Vec2; q2: b2Vec2): b2SegmentDistanceResult
b2SegmentDistanceResult:
api: object b2SegmentDistanceResult
b2SensorBeginTouchEvent:
api: object b2SensorBeginTouchEvent
b2SensorEndTouchEvent:
api: object b2SensorEndTouchEvent
b2SensorEvents:
api: object b2SensorEvents
b2SetAllocator:
api: proc b2SetAllocator(allocFcn: b2AllocFcn; freeFcn: b2FreeFcn): void
b2SetAssertFcn:
api: proc b2SetAssertFcn(assertFcn: b2AssertFcn): void
b2SetLengthUnitsPerMeter:
api: proc b2SetLengthUnitsPerMeter(lengthUnits: cfloat): void
b2Shape_AreContactEventsEnabled:
api: proc b2Shape_AreContactEventsEnabled(shapeId: b2ShapeId): bool
b2Shape_AreHitEventsEnabled:
api: proc b2Shape_AreHitEventsEnabled(shapeId: b2ShapeId): bool
b2Shape_ArePreSolveEventsEnabled:
api: proc b2Shape_ArePreSolveEventsEnabled(shapeId: b2ShapeId): bool
b2Shape_AreSensorEventsEnabled:
api: proc b2Shape_AreSensorEventsEnabled(shapeId: b2ShapeId): bool
b2ShapeCast:
api: proc b2ShapeCast(input: ptr b2ShapeCastPairInput): b2CastOutput
b2ShapeCastCapsule:
api: proc b2ShapeCastCapsule(input: ptr b2ShapeCastInput; shape: ptr b2Capsule): b2CastOutput
b2ShapeCastCircle:
api: proc b2ShapeCastCircle(input: ptr b2ShapeCastInput; shape: ptr b2Circle): b2CastOutput
b2ShapeCastInput:
api: object b2ShapeCastInput
b2ShapeCastPairInput:
api: object b2ShapeCastPairInput
b2ShapeCastPolygon:
api: proc b2ShapeCastPolygon(input: ptr b2ShapeCastInput; shape: ptr b2Polygon): b2CastOutput
b2ShapeCastSegment:
api: proc b2ShapeCastSegment(input: ptr b2ShapeCastInput; shape: ptr b2Segment): b2CastOutput
b2ShapeDef:
api: object b2ShapeDef
b2ShapeDistance:
api: proc b2ShapeDistance(cache: ptr b2DistanceCache; input: ptr b2DistanceInput; simplexes: ptr b2Simplex; simplexCapacity: cint): b2DistanceOutput
b2Shape_EnableContactEvents:
api: proc b2Shape_EnableContactEvents(shapeId: b2ShapeId; flag: bool): void
b2Shape_EnableHitEvents:
api: proc b2Shape_EnableHitEvents(shapeId: b2ShapeId; flag: bool): void
b2Shape_EnablePreSolveEvents:
api: proc b2Shape_EnablePreSolveEvents(shapeId: b2ShapeId; flag: bool): void
b2Shape_EnableSensorEvents:
api: proc b2Shape_EnableSensorEvents(shapeId: b2ShapeId; flag: bool): void
b2Shape_GetAABB:
api: proc b2Shape_GetAABB(shapeId: b2ShapeId): b2AABB
b2Shape_GetBody:
api: proc b2Shape_GetBody(shapeId: b2ShapeId): b2BodyId
b2Shape_GetCapsule:
api: proc b2Shape_GetCapsule(shapeId: b2ShapeId): b2Capsule
b2Shape_GetCircle:
api: proc b2Shape_GetCircle(shapeId: b2ShapeId): b2Circle
b2Shape_GetClosestPoint:
api: proc b2Shape_GetClosestPoint(shapeId: b2ShapeId; target: b2Vec2): b2Vec2
b2Shape_GetContactCapacity:
api: proc b2Shape_GetContactCapacity(shapeId: b2ShapeId): cint
b2Shape_GetContactData:
api: proc b2Shape_GetContactData(shapeId: b2ShapeId; contactData: ptr b2ContactData; capacity: cint): cint
b2Shape_GetDensity:
api: proc b2Shape_GetDensity(shapeId: b2ShapeId): cfloat
b2Shape_GetFilter:
api: proc b2Shape_GetFilter(shapeId: b2ShapeId): b2Filter
b2Shape_GetFriction:
api: proc b2Shape_GetFriction(shapeId: b2ShapeId): cfloat
b2Shape_GetParentChain:
api: proc b2Shape_GetParentChain(shapeId: b2ShapeId): b2ChainId
b2Shape_GetPolygon:
api: proc b2Shape_GetPolygon(shapeId: b2ShapeId): b2Polygon
b2Shape_GetRestitution:
api: proc b2Shape_GetRestitution(shapeId: b2ShapeId): cfloat
b2Shape_GetSegment:
api: proc b2Shape_GetSegment(shapeId: b2ShapeId): b2Segment
b2Shape_GetSmoothSegment:
api: proc b2Shape_GetSmoothSegment(shapeId: b2ShapeId): b2SmoothSegment
b2Shape_GetType:
api: proc b2Shape_GetType(shapeId: b2ShapeId): b2ShapeType
b2Shape_GetUserData:
api: proc b2Shape_GetUserData(shapeId: b2ShapeId): pointer
b2ShapeId:
api: object b2ShapeId
b2Shape_IsSensor:
api: proc b2Shape_IsSensor(shapeId: b2ShapeId): bool
b2Shape_IsValid:
api: proc b2Shape_IsValid(id: b2ShapeId): bool
b2ShapePairKey:
api: proc b2ShapePairKey(k1: uint64; k2: uint64): uint64
b2Shape_RayCast:
api: proc b2Shape_RayCast(shapeId: b2ShapeId; origin: b2Vec2; translation: b2Vec2): b2CastOutput
b2Shape_SetCapsule:
api: proc b2Shape_SetCapsule(shapeId: b2ShapeId; capsule: ptr b2Capsule): void
b2Shape_SetCircle:
api: proc b2Shape_SetCircle(shapeId: b2ShapeId; circle: ptr b2Circle): void
b2Shape_SetDensity:
api: proc b2Shape_SetDensity(shapeId: b2ShapeId; density: cfloat): void
b2Shape_SetFilter:
api: proc b2Shape_SetFilter(shapeId: b2ShapeId; filter: b2Filter): void
b2Shape_SetFriction:
api: proc b2Shape_SetFriction(shapeId: b2ShapeId; friction: cfloat): void
b2Shape_SetPolygon:
api: proc b2Shape_SetPolygon(shapeId: b2ShapeId; polygon: ptr b2Polygon): void
b2Shape_SetRestitution:
api: proc b2Shape_SetRestitution(shapeId: b2ShapeId; restitution: cfloat): void
b2Shape_SetSegment:
api: proc b2Shape_SetSegment(shapeId: b2ShapeId; segment: ptr b2Segment): void
b2Shape_SetUserData:
api: proc b2Shape_SetUserData(shapeId: b2ShapeId; userData: pointer): void
b2Shape_TestPoint:
api: proc b2Shape_TestPoint(shapeId: b2ShapeId; point: b2Vec2): bool
b2ShapeType:
api: enum b2ShapeType
b2Simplex:
api: object b2Simplex
b2SimplexVertex:
api: object b2SimplexVertex
b2SleepMilliseconds:
api: proc b2SleepMilliseconds(milliseconds: cint): void
b2SmoothSegment:
api: object b2SmoothSegment
b2Solve22:
api: proc b2Solve22(A: b2Mat22; b: b2Vec2): b2Vec2
b2Sub:
api: template b2Sub(a: b2Vec2; b: b2Vec2): b2Vec2
b2Sweep:
api: object b2Sweep
b2TaskCallback:
api: type b2TaskCallback
b2TimeOfImpact:
api: proc b2TimeOfImpact(input: ptr b2TOIInput): b2TOIOutput
b2Timer:
api: object b2Timer
b2TOIInput:
api: object b2TOIInput
b2TOIOutput:
api: object b2TOIOutput
b2TOIState:
api: enum b2TOIState
b2Transform:
api: object b2Transform
b2Transform_identity:
api: const b2Transform_identity
b2TransformPoint:
api: proc b2TransformPoint(t: b2Transform; p: b2Vec2): b2Vec2
b2TransformPolygon:
api: proc b2TransformPolygon(transform: b2Transform; polygon: ptr b2Polygon): b2Polygon
b2TreeNode:
api: object b2TreeNode
b2TreeNode_anon0_t:
api: object b2TreeNode_anon0_t
b2TreeQueryCallbackFcn:
api: type b2TreeQueryCallbackFcn
b2TreeRayCastCallbackFcn:
api: type b2TreeRayCastCallbackFcn
b2TreeShapeCastCallbackFcn:
api: type b2TreeShapeCastCallbackFcn
b2UnwindAngle:
api: proc b2UnwindAngle(angle: cfloat): cfloat
b2ValidateHull:
api: proc b2ValidateHull(hull: ptr b2Hull): bool
b2Vec2:
api: object b2Vec2
b2Vec2_IsValid:
api: proc b2Vec2_IsValid(v: b2Vec2): bool
b2Vec2_zero:
api: const b2Vec2_zero
b2Version:
api: object b2Version
b2WeldJointDef:
api: object b2WeldJointDef
b2WeldJoint_GetAngularDampingRatio:
api: proc b2WeldJoint_GetAngularDampingRatio(jointId: b2JointId): cfloat
b2WeldJoint_GetAngularHertz:
api: proc b2WeldJoint_GetAngularHertz(jointId: b2JointId): cfloat
b2WeldJoint_GetLinearDampingRatio:
api: proc b2WeldJoint_GetLinearDampingRatio(jointId: b2JointId): cfloat
b2WeldJoint_GetLinearHertz:
api: proc b2WeldJoint_GetLinearHertz(jointId: b2JointId): cfloat
b2WeldJoint_SetAngularDampingRatio:
api: proc b2WeldJoint_SetAngularDampingRatio(jointId: b2JointId; dampingRatio: cfloat): void
b2WeldJoint_SetAngularHertz:
api: proc b2WeldJoint_SetAngularHertz(jointId: b2JointId; hertz: cfloat): void
b2WeldJoint_SetLinearDampingRatio:
api: proc b2WeldJoint_SetLinearDampingRatio(jointId: b2JointId; dampingRatio: cfloat): void
b2WeldJoint_SetLinearHertz:
api: proc b2WeldJoint_SetLinearHertz(jointId: b2JointId; hertz: cfloat): void
b2WheelJointDef:
api: object b2WheelJointDef
b2WheelJoint_EnableLimit:
api: proc b2WheelJoint_EnableLimit(jointId: b2JointId; enableLimit: bool): void
b2WheelJoint_EnableMotor:
api: proc b2WheelJoint_EnableMotor(jointId: b2JointId; enableMotor: bool): void
b2WheelJoint_EnableSpring:
api: proc b2WheelJoint_EnableSpring(jointId: b2JointId; enableSpring: bool): void
b2WheelJoint_GetLowerLimit:
api: proc b2WheelJoint_GetLowerLimit(jointId: b2JointId): cfloat
b2WheelJoint_GetMaxMotorTorque:
api: proc b2WheelJoint_GetMaxMotorTorque(jointId: b2JointId): cfloat
b2WheelJoint_GetMotorSpeed:
api: proc b2WheelJoint_GetMotorSpeed(jointId: b2JointId): cfloat
b2WheelJoint_GetMotorTorque:
api: proc b2WheelJoint_GetMotorTorque(jointId: b2JointId): cfloat
b2WheelJoint_GetSpringDampingRatio:
api: proc b2WheelJoint_GetSpringDampingRatio(jointId: b2JointId): cfloat
b2WheelJoint_GetSpringHertz:
api: proc b2WheelJoint_GetSpringHertz(jointId: b2JointId): cfloat
b2WheelJoint_GetUpperLimit:
api: proc b2WheelJoint_GetUpperLimit(jointId: b2JointId): cfloat
b2WheelJoint_IsLimitEnabled:
api: proc b2WheelJoint_IsLimitEnabled(jointId: b2JointId): bool
b2WheelJoint_IsMotorEnabled:
api: proc b2WheelJoint_IsMotorEnabled(jointId: b2JointId): bool
b2WheelJoint_IsSpringEnabled:
api: proc b2WheelJoint_IsSpringEnabled(jointId: b2JointId): bool
b2WheelJoint_SetLimits:
api: proc b2WheelJoint_SetLimits(jointId: b2JointId; lower: cfloat; upper: cfloat): void
b2WheelJoint_SetMaxMotorTorque:
api: proc b2WheelJoint_SetMaxMotorTorque(jointId: b2JointId; torque: cfloat): void
b2WheelJoint_SetMotorSpeed:
api: proc b2WheelJoint_SetMotorSpeed(jointId: b2JointId; motorSpeed: cfloat): void
b2WheelJoint_SetSpringDampingRatio:
api: proc b2WheelJoint_SetSpringDampingRatio(jointId: b2JointId; dampingRatio: cfloat): void
b2WheelJoint_SetSpringHertz:
api: proc b2WheelJoint_SetSpringHertz(jointId: b2JointId; hertz: cfloat): void
b2World_CastCapsule:
api: proc b2World_CastCapsule(worldId: b2WorldId; capsule: ptr b2Capsule; originTransform: b2Transform; translation: b2Vec2; filter: b2QueryFilter; fcn: b2CastResultFcn; context: pointer): void
b2World_CastCircle:
api: proc b2World_CastCircle(worldId: b2WorldId; circle: ptr b2Circle; originTransform: b2Transform; translation: b2Vec2; filter: b2QueryFilter; fcn: b2CastResultFcn; context: pointer): void
b2World_CastPolygon:
api: proc b2World_CastPolygon(worldId: b2WorldId; polygon: ptr b2Polygon; originTransform: b2Transform; translation: b2Vec2; filter: b2QueryFilter; fcn: b2CastResultFcn; context: pointer): void
b2World_CastRay:
api: proc b2World_CastRay(worldId: b2WorldId; origin: b2Vec2; translation: b2Vec2; filter: b2QueryFilter; fcn: b2CastResultFcn; context: pointer): void
b2World_CastRayClosest:
api: proc b2World_CastRayClosest(worldId: b2WorldId; origin: b2Vec2; translation: b2Vec2; filter: b2QueryFilter): b2RayResult
b2WorldDef:
api: object b2WorldDef
b2World_Draw:
api: proc b2World_Draw(worldId: b2WorldId; draw: ptr b2DebugDraw): void
b2World_DumpMemoryStats:
api: proc b2World_DumpMemoryStats(worldId: b2WorldId): void
b2World_EnableContinuous:
api: proc b2World_EnableContinuous(worldId: b2WorldId; flag: bool): void
b2World_EnableSleeping:
api: proc b2World_EnableSleeping(worldId: b2WorldId; flag: bool): void
b2World_EnableWarmStarting:
api: proc b2World_EnableWarmStarting(worldId: b2WorldId; flag: bool): void
b2World_Explode:
api: proc b2World_Explode(worldId: b2WorldId; position: b2Vec2; radius: cfloat; impulse: cfloat): void
b2World_GetBodyEvents:
api: proc b2World_GetBodyEvents(worldId: b2WorldId): b2BodyEvents
b2World_GetContactEvents:
api: proc b2World_GetContactEvents(worldId: b2WorldId): b2ContactEvents
b2World_GetCounters:
api: proc b2World_GetCounters(worldId: b2WorldId): b2Counters
b2World_GetGravity:
api: proc b2World_GetGravity(worldId: b2WorldId): b2Vec2
b2World_GetProfile:
api: proc b2World_GetProfile(worldId: b2WorldId): b2Profile
b2World_GetSensorEvents:
api: proc b2World_GetSensorEvents(worldId: b2WorldId): b2SensorEvents
b2WorldId:
api: object b2WorldId
b2World_IsValid:
api: proc b2World_IsValid(id: b2WorldId): bool
b2World_OverlapAABB:
api: proc b2World_OverlapAABB(worldId: b2WorldId; aabb: b2AABB; filter: b2QueryFilter; fcn: b2OverlapResultFcn; context: pointer): void
b2World_OverlapCapsule:
api: proc b2World_OverlapCapsule(worldId: b2WorldId; capsule: ptr b2Capsule; transform: b2Transform; filter: b2QueryFilter; fcn: b2OverlapResultFcn; context: pointer): void
b2World_OverlapCircle:
api: proc b2World_OverlapCircle(worldId: b2WorldId; circle: ptr b2Circle; transform: b2Transform; filter: b2QueryFilter; fcn: b2OverlapResultFcn; context: pointer): void
b2World_OverlapPolygon:
api: proc b2World_OverlapPolygon(worldId: b2WorldId; polygon: ptr b2Polygon; transform: b2Transform; filter: b2QueryFilter; fcn: b2OverlapResultFcn; context: pointer): void
b2World_SetContactTuning:
api: proc b2World_SetContactTuning(worldId: b2WorldId; hertz: cfloat; dampingRatio: cfloat; pushVelocity: cfloat): void
b2World_SetCustomFilterCallback:
api: proc b2World_SetCustomFilterCallback(worldId: b2WorldId; fcn: b2CustomFilterFcn; context: pointer): void
b2World_SetGravity:
api: proc b2World_SetGravity(worldId: b2WorldId; gravity: b2Vec2): void
b2World_SetHitEventThreshold:
api: proc b2World_SetHitEventThreshold(worldId: b2WorldId; value: cfloat): void
b2World_SetPreSolveCallback:
api: proc b2World_SetPreSolveCallback(worldId: b2WorldId; fcn: b2PreSolveFcn; context: pointer): void
b2World_SetRestitutionThreshold:
api: proc b2World_SetRestitutionThreshold(worldId: b2WorldId; value: cfloat): void
b2World_Step:
api: proc b2World_Step(worldId: b2WorldId; timeStep: cfloat; subStepCount: cint): void
b2Yield:
api: proc b2Yield(): void