C# Class Box2DX.Collision.Segment

显示文件 Open project: danielpcox/Crisis-at-Swiss-Station Class Usage Examples

Public Properties

Property Type Description
P1 Box2DX.Common.Vec2
P2 Box2DX.Common.Vec2

Public Methods

Method Description
TestSegment ( float &lambda, Vec2 &normal, Segment segment, float maxLambda ) : bool

Ray cast against this segment with another segment.

Method Details

TestSegment() public method

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
return bool

Property Details

P1 public_oe property

The starting point.
public Vec2,Box2DX.Common P1
return Box2DX.Common.Vec2

P2 public_oe property

The ending point.
public Vec2,Box2DX.Common P2
return Box2DX.Common.Vec2