Options
All
  • Public
  • Public/Protected
  • All
Menu

Module collision

Index

Enumerations

Classes

Variables

Functions

Variables

Const b2CollideCircles_s_pA

b2CollideCircles_s_pA: b2Vec2 = new b2Vec2()

Const b2CollideCircles_s_pB

b2CollideCircles_s_pB: b2Vec2 = new b2Vec2()

Const b2CollideEdgeAndCircle_s_P

b2CollideEdgeAndCircle_s_P: b2Vec2 = new b2Vec2()

Const b2CollideEdgeAndCircle_s_Q

b2CollideEdgeAndCircle_s_Q: b2Vec2 = new b2Vec2()

Const b2CollideEdgeAndCircle_s_d

b2CollideEdgeAndCircle_s_d: b2Vec2 = new b2Vec2()

Const b2CollideEdgeAndCircle_s_e

b2CollideEdgeAndCircle_s_e: b2Vec2 = new b2Vec2()

Const b2CollideEdgeAndCircle_s_e1

b2CollideEdgeAndCircle_s_e1: b2Vec2 = new b2Vec2()

Const b2CollideEdgeAndCircle_s_e2

b2CollideEdgeAndCircle_s_e2: b2Vec2 = new b2Vec2()

Const b2CollideEdgeAndCircle_s_id

b2CollideEdgeAndCircle_s_id: b2ContactID = new b2ContactID()

Const b2CollideEdgeAndCircle_s_n

b2CollideEdgeAndCircle_s_n: b2Vec2 = new b2Vec2()

Const b2CollideEdgeAndPolygon_s_collider

b2CollideEdgeAndPolygon_s_collider: b2EPCollider = new b2EPCollider()

Const b2CollidePolygonAndCircle_s_c

b2CollidePolygonAndCircle_s_c: b2Vec2 = new b2Vec2()

Const b2CollidePolygonAndCircle_s_cLocal

b2CollidePolygonAndCircle_s_cLocal: b2Vec2 = new b2Vec2()

Const b2CollidePolygonAndCircle_s_faceCenter

b2CollidePolygonAndCircle_s_faceCenter: b2Vec2 = new b2Vec2()

Const b2CollidePolygons_s_clipPoints1

b2CollidePolygons_s_clipPoints1: b2ClipVertex[] = b2ClipVertex.MakeArray(2)

Const b2CollidePolygons_s_clipPoints2

b2CollidePolygons_s_clipPoints2: b2ClipVertex[] = b2ClipVertex.MakeArray(2)

Const b2CollidePolygons_s_edgeA

b2CollidePolygons_s_edgeA: [] = [ 0 ]

Const b2CollidePolygons_s_edgeB

b2CollidePolygons_s_edgeB: [] = [ 0 ]

Const b2CollidePolygons_s_incidentEdge

b2CollidePolygons_s_incidentEdge: b2ClipVertex[] = b2ClipVertex.MakeArray(2)

Const b2CollidePolygons_s_localNormal

b2CollidePolygons_s_localNormal: b2Vec2 = new b2Vec2()

Const b2CollidePolygons_s_localTangent

b2CollidePolygons_s_localTangent: b2Vec2 = new b2Vec2()

Const b2CollidePolygons_s_normal

b2CollidePolygons_s_normal: b2Vec2 = new b2Vec2()

Const b2CollidePolygons_s_ntangent

b2CollidePolygons_s_ntangent: b2Vec2 = new b2Vec2()

Const b2CollidePolygons_s_planePoint

b2CollidePolygons_s_planePoint: b2Vec2 = new b2Vec2()

Const b2CollidePolygons_s_tangent

b2CollidePolygons_s_tangent: b2Vec2 = new b2Vec2()

Const b2CollidePolygons_s_v11

b2CollidePolygons_s_v11: b2Vec2 = new b2Vec2()

Const b2CollidePolygons_s_v12

b2CollidePolygons_s_v12: b2Vec2 = new b2Vec2()

Const b2Distance_s_d

b2Distance_s_d: b2Vec2 = new b2Vec2()

Const b2Distance_s_normal

b2Distance_s_normal: b2Vec2 = new b2Vec2()

Const b2Distance_s_p

b2Distance_s_p: b2Vec2 = new b2Vec2()

Const b2Distance_s_saveA

b2Distance_s_saveA: [] = [ 0, 0, 0 ]

Const b2Distance_s_saveB

b2Distance_s_saveB: [] = [ 0, 0, 0 ]

Const b2Distance_s_simplex

b2Distance_s_simplex: b2Simplex = new b2Simplex()

Const b2Distance_s_supportA

b2Distance_s_supportA: b2Vec2 = new b2Vec2()

Const b2Distance_s_supportB

b2Distance_s_supportB: b2Vec2 = new b2Vec2()

Const b2EdgeSeparation_s_normal1

b2EdgeSeparation_s_normal1: b2Vec2 = new b2Vec2()

Const b2EdgeSeparation_s_normal1World

b2EdgeSeparation_s_normal1World: b2Vec2 = new b2Vec2()

Const b2EdgeSeparation_s_v1

b2EdgeSeparation_s_v1: b2Vec2 = new b2Vec2()

Const b2EdgeSeparation_s_v2

b2EdgeSeparation_s_v2: b2Vec2 = new b2Vec2()

Const b2FindIncidentEdge_s_normal1

b2FindIncidentEdge_s_normal1: b2Vec2 = new b2Vec2()

Const b2FindMaxSeparation_s_d

b2FindMaxSeparation_s_d: b2Vec2 = new b2Vec2()

Const b2FindMaxSeparation_s_dLocal1

b2FindMaxSeparation_s_dLocal1: b2Vec2 = new b2Vec2()

Const b2ShapeCast_s_n

b2ShapeCast_s_n: b2Vec2 = new b2Vec2()

Const b2ShapeCast_s_p

b2ShapeCast_s_p: b2Vec2 = new b2Vec2()

Const b2ShapeCast_s_pointA

b2ShapeCast_s_pointA: b2Vec2 = new b2Vec2()

Const b2ShapeCast_s_pointB

b2ShapeCast_s_pointB: b2Vec2 = new b2Vec2()

Const b2ShapeCast_s_simplex

b2ShapeCast_s_simplex: b2Simplex = new b2Simplex()

Const b2ShapeCast_s_v

b2ShapeCast_s_v: b2Vec2 = new b2Vec2()

Const b2ShapeCast_s_wA

b2ShapeCast_s_wA: b2Vec2 = new b2Vec2()

Const b2ShapeCast_s_wB

b2ShapeCast_s_wB: b2Vec2 = new b2Vec2()

Const b2TestOverlapShape_s_input

b2TestOverlapShape_s_input: b2DistanceInput = new b2DistanceInput()

Const b2TestOverlapShape_s_output

b2TestOverlapShape_s_output: b2DistanceOutput = new b2DistanceOutput()

Const b2TestOverlapShape_s_simplexCache

b2TestOverlapShape_s_simplexCache: b2SimplexCache = new b2SimplexCache()

Const b2TimeOfImpact_s_axisA

b2TimeOfImpact_s_axisA: b2Vec2 = new b2Vec2()

Const b2TimeOfImpact_s_axisB

b2TimeOfImpact_s_axisB: b2Vec2 = new b2Vec2()

Const b2TimeOfImpact_s_cache

b2TimeOfImpact_s_cache: b2SimplexCache = new b2SimplexCache()

Const b2TimeOfImpact_s_distanceInput

b2TimeOfImpact_s_distanceInput: b2DistanceInput = new b2DistanceInput()

Const b2TimeOfImpact_s_distanceOutput

b2TimeOfImpact_s_distanceOutput: b2DistanceOutput = new b2DistanceOutput()

Const b2TimeOfImpact_s_fcn

b2TimeOfImpact_s_fcn: b2SeparationFunction = new b2SeparationFunction()

Const b2TimeOfImpact_s_indexA

b2TimeOfImpact_s_indexA: [] = [ 0 ]

Const b2TimeOfImpact_s_indexB

b2TimeOfImpact_s_indexB: [] = [ 0 ]

Const b2TimeOfImpact_s_normal

b2TimeOfImpact_s_normal: b2Vec2 = new b2Vec2()

Const b2TimeOfImpact_s_pointA

b2TimeOfImpact_s_pointA: b2Vec2 = new b2Vec2()

Const b2TimeOfImpact_s_pointB

b2TimeOfImpact_s_pointB: b2Vec2 = new b2Vec2()

Const b2TimeOfImpact_s_sweepA

b2TimeOfImpact_s_sweepA: b2Sweep = new b2Sweep()

Const b2TimeOfImpact_s_sweepB

b2TimeOfImpact_s_sweepB: b2Sweep = new b2Sweep()

Const b2TimeOfImpact_s_timer

b2TimeOfImpact_s_timer: b2Timer = new b2Timer()

Const b2TimeOfImpact_s_xfA

b2TimeOfImpact_s_xfA: b2Transform = new b2Transform()

Const b2TimeOfImpact_s_xfB

b2TimeOfImpact_s_xfB: b2Transform = new b2Transform()

Let b2_gjkCalls

b2_gjkCalls: number = 0

Let b2_gjkIters

b2_gjkIters: number = 0

Let b2_gjkMaxIters

b2_gjkMaxIters: number = 0

Let b2_toiCalls

b2_toiCalls: number = 0

Let b2_toiIters

b2_toiIters: number = 0

Let b2_toiMaxIters

b2_toiMaxIters: number = 0

Let b2_toiMaxRootIters

b2_toiMaxRootIters: number = 0

Let b2_toiMaxTime

b2_toiMaxTime: number = 0

Let b2_toiRootIters

b2_toiRootIters: number = 0

Let b2_toiTime

b2_toiTime: number = 0

Functions

b2ClipSegmentToLine

  • Parameters

    Returns number

b2CollideCircles

b2CollideEdgeAndCircle

b2CollideEdgeAndPolygon

b2CollidePolygonAndCircle

b2CollidePolygons

b2Distance

b2EdgeSeparation

b2FindIncidentEdge

b2FindMaxSeparation

b2GetPointStates

b2PairLessThan

  • b2PairLessThan<T>(pair1: b2Pair<T>, pair2: b2Pair<T>): boolean
  • Type parameters

    • T

    Parameters

    Returns boolean

b2ShapeCast

b2TestOverlapAABB

  • Parameters

    Returns boolean

b2TestOverlapShape

  • Parameters

    Returns boolean

b2TimeOfImpact

  • Parameters

    Returns void

b2gjkreset

  • b2_gjk_reset(): void
  • Returns void

b2toireset

  • b2_toi_reset(): void
  • Returns void

defaultcompare

  • defaultcompare<T>(a: T, b: T): boolean
  • Type parameters

    • T

    Parameters

    • a: T
    • b: T

    Returns boolean

stditerswap

  • stditerswap<T>(array: T[], a: number, b: number): void
  • Type parameters

    • T

    Parameters

    • array: T[]
    • a: number
    • b: number

    Returns void

stdsort

  • stdsort<T>(array: T[], first?: number, len?: number, cmp?: (a: T, b: T) => boolean): T[]
  • Type parameters

    • T

    Parameters

    • array: T[]
    • Default value first: number = 0
    • Default value len: number = array.length - first
    • Default value cmp: (a: T, b: T) => boolean = default_compare
        • (a: T, b: T): boolean
        • Parameters

          • a: T
          • b: T

          Returns boolean

    Returns T[]

verify

  • verify<T>(value: T | null): T
  • Type parameters

    • T

    Parameters

    • value: T | null

    Returns T

Generated using TypeDoc