public abstract TestSegment ( Box2DX.Common.Transform xf, float &lambda, Vector2 &normal, Segment segment, float maxLambda ) : SegmentCollide | ||
xf | Box2DX.Common.Transform | The shape world Transform. |
lambda | float | Returns the hit fraction. You can use this to compute the contact point /// p = (1 - lambda) * segment.P1 + lambda * segment.P2. |
normal | Vector2 | Returns the normal at the contact point. If there is no intersection, /// the normal is not set. |
segment | Segment | Defines the begin and end point of the ray cast. |
maxLambda | float | A number typically in the range [0,1]. |
return | SegmentCollide |