C# Class Box2DX.Collision.Segment

Afficher le fichier Open project: danielpcox/Crisis-at-Swiss-Station Class Usage Examples

Méthodes publiques

Свойство Type Description
P1 Box2DX.Common.Vec2
P2 Box2DX.Common.Vec2

Méthodes publiques

Méthode Description
TestSegment ( float &lambda, Vec2 &normal, Segment segment, float maxLambda ) : bool

Ray cast against this segment with another segment.

Method Details

TestSegment() public méthode

Ray cast against this segment with another segment.
public TestSegment ( float &lambda, Vec2 &normal, Segment segment, float maxLambda ) : bool
lambda float
normal Box2DX.Common.Vec2
segment Segment
maxLambda float
Résultat bool

Property Details

P1 public_oe property

The starting point.
public Vec2,Box2DX.Common P1
Résultat Box2DX.Common.Vec2

P2 public_oe property

The ending point.
public Vec2,Box2DX.Common P2
Résultat Box2DX.Common.Vec2